pedgarcia's Forum Posts

  • 8 posts
  • I've found this other thread with an example that does that word by word:

    http://www.scirra.com/forum/different-text-colors-in-the-same-text-object_topic50140.html

    I did few changes and could do it char by char based on an array of colours. It works fine, but I have no idea how to deal if my text is presented in more than one line (word wrap).

    My version of the example:

    https://www.dropbox.com/s/rd7pamibqfslqmh/TextColorByChar.capx

    If anyone has an idea how to make the char instances follow the word wrap, I'd be glad!

    Thanks

    Paulo

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I have an idea to have text on screen and be able to change the colour of each letter individually�

    It seems not possible using Sprite Font or Text unless I create one text for each character, which means to create a video memory engine of some sort, and I will loose the alignment and word wrap capabilities that the text objects give me...

    Is there a better way to accomplish that?

    Ta

  • Thanks for the idea. Yes, that is working fine.

    It also reports Caplocks, but it with this one I will have to assume the initial state and toggle it as the key is pressed.

    Now, for mobiles, what would be the approach to track the virtual keyboard key down/press? Write specific plugins for each device/os?

    Thanks

  • I'm trying to use the Keyboard object to capture all pressed keys, but it seems the keycode always shows the same code independently if it is lower case or upper case.

    I understand that it is probably the most used way, but I have a particular case where I need the actual key pressed. It should work on Desktop or Mobile, but if I can get it work on desktop now, it would be great (it seems keyboard doesn't listen to mobile virtual keyboard, right)

    Any idea on how to do it?

    Thanks

  • Here is the wave file I'm using: dl.dropbox.com/u/6781970/woosh.wav

  • Tonight I will put here the wave file I'm using.

    About the "dos prompt": on my machine I can clearly see the command prompts popping up trying to run the converters right after I select the files to insert into my project, and then the error.

    I believe the file is ok, since I could convert them using the same utilities, but from a command prompt.

    It it possible the Windows 7 N is giving Construct a false response from the utilities?

    Thanks

    Paulo

  • When I try to import a wave file, I get the error "Failed to convert to OGG. Need Win 7+". I do use Windows 7 32 bit, so I'm not sure what causes the error.

    After that I tried to call the conversion tool directly from command line and the same wave file could be converted to ogg and m4a with no problems. I could import both files with no problems then.

    I'm using Construct2 installed in Steam software folder, so I don't know if that could be the cause.

    Steps to reproduce:

    1. Import wave into an empty project

    2. I can see the cmd line windows opened

    3. The error will be displayed, and the file won't be imported.

    Observed result:

    No file imported

    Operating system & service pack:

    Windows 7 Enterprise N (With Media player stuff installed)

    Construct 2 version:

    r119

  • I'd like to have something like a "Massive on line dungeon crawler game/sandbox" in 2D, like the earlier Zelda or Pokemon in terms of perspective and graphics where you are able to accept quests and try to solve dungeons puzzles create by other players. On the sandbox/forge mode you can create your quests and levels to challenge other players as well as giving them prizes upon completion. This kind of concept would give the game infinite challenges and would keep the players entertained beating other's quest as well as creating their own.

    Now, my monkey! Give give give give :)

  • 8 posts