How to change a single character color from Text

0 favourites
  • 8 posts
From the Asset Store
Simplistic hyper-casual game with nature elements. Tap to switch between the 4 elements and reach a better score.
  • Hello newbie here,

    I really stuck out here, trying to create a fast typing game which change the color of every single correct character in a text object, I dont know how to pick or do a substring to pick my text Object character to be colored, The text object only have a set font color method which will turn all the char colors in my text object, Is there any way to do this? must I download any plugin.. THX before :D <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I don't think you can. Maybe there is a plugin for that, I don't know.

  • thx for the reply... actually I trick it with set 3 layers of different colors of text, now I stuck in how to get a shift+anotherKeyPress keycode, I just can get the latest keycode here.. any one can help..   <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Why would you need to know the shift keycode?

  • I mean how to get the combination keycode.. for example "@" keycode is 80 but when I press shift and then "2" the function only return the last keycode which is keycode for "2"

  • I don't think you can, and d�pending on the type of keyboard, unexpected result could happen, for exemple:

    for the '2' key, a qwerty keyboard will return 2 without Caps, and with caps, but in azerty, it'll return � without caps, and 2 with caps, so I am not sure you can do it easily

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This recent plugin from rexrainbow may help.

  • thx for the help!

    Sorry to reply now

    actually my game has already published in win store:

    "http://apps.microsoft.com/windows/id-id/app/hello-world/037aa3c5-8bde-4e41-8a66-e417414e34dd"

    please kindly rate and download...THANKS!!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)