How to change a single character color from Text

Chat about anything not covered in these forums, but keep it civil!

Post » Thu Dec 05, 2013 5:12 am

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
B
4
Posts: 11
Reputation: 222

Post » Thu Dec 05, 2013 2:10 pm

I don't think you can. Maybe there is a plugin for that, I don't know.
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Sat Dec 07, 2013 11:49 am

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..   
B
4
Posts: 11
Reputation: 222

Post » Sat Dec 07, 2013 1:16 pm

Why would you need to know the shift keycode?
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Wed Dec 11, 2013 2:43 am

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"
B
4
Posts: 11
Reputation: 222

Post » Wed Dec 11, 2013 10:06 am

I don't think you can, and dpending 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
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Wed Dec 11, 2013 10:15 am

This recent plugin from rexrainbow may help.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,384
Reputation: 58,450

Post » Sun Jan 26, 2014 11:14 am

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!!
andreasnvr2014-01-26 11:20:30
B
4
Posts: 11
Reputation: 222


Return to Open Topic

Who is online

Users browsing this forum: No registered users and 2 guests