How do I make a typing game

Just started using Construct 2? Post your questions here

Post » Fri Jun 19, 2015 10:10 am

I need to make a typing game and I have no idea how to start. It is a game that relies on the typing speed of the player. I have no idea how to compare the string that I get from the player to that of the text. Right now I can only get last key code which is the key code of only one letter. So how do I compare the keycode of an entire word? Thanks for the help!
B
4
Posts: 4
Reputation: 208

Post » Fri Jun 19, 2015 11:46 am

Using the textbox object you can see what the user types?

or use the text object and append the letter associated with the keycode to that object?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Jun 20, 2015 7:09 am

LittleStain wrote:Using the textbox object you can see what the user types?

or use the text object and append the letter associated with the keycode to that object?


Ahh i'm appending the letter. So the keycode at the end is the keycode of one letter but i don't know how to determine whether the player typed the correct word @LittleStain
B
4
Posts: 4
Reputation: 208

Post » Sun Jun 21, 2015 6:22 am

System compare two values : text.text = word ?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests