So I've been trying to create a word based game for younger age children.
I am wondering how to make a word show up like Apple and have the "L" of missing.
I also want the children to be able to press the L on the keyboard so it shows up and a point is added to a total score.
Any help will be great
Offline
What you need to do is make a new sprite (the button is below the viewer), now use the text tool to write the word App-e. Now if you go to the scripts for Apple do something like:
when [L v] key pressed //Your scripts after this.Hope this helps.
Last edited by EH7meow (2013-04-23 13:25:38)
Offline
Hey. The system I think of is a bit complicated and this is your first project I think so if you don't know eanything about lists and variables this won't help you very much. But if you do know, this system is very effective I think.
You could make a list, were all the words are in.
Like: apple
orange
...
Now it picks up a random word in the list. Thats the first variable
Now it fills every letter in a list but replace one RANDOM letter by _ an set a second variable on the replaced letter
Like:a or:a
p _
p P
_ l
e e
Now you set a variable on the list, that it looks like this: app_e or a_ple.
Then it asks what letter is missing. If the answer is the second variable it says correct and add one point otherwise it says incorrect and adds nothing
With this system you don't need eany sprites and you can add new words very easy.
Is this to complicated or do you know lists and variables?
If not I would like to help you. And could I try to make this project to? With credits of course!
And sorry english is not my mother language so there might be some mistakes.
Last edited by Tohmis (2013-04-18 19:52:56)
Offline
What you should do now is go to the costumes for App-e and make a new one. This time write Ora-ge or whatever word you want to do next. Now you need to make a variable, let's call it "Question No.", now if the L key is pressed on costume 2 (or any other one) it won't go to costume 2 (hopefully) if you're using my scripts. Now do:
when gf clicked set [QuestionNo.] to (1) switch to costume[costume1]Now do:
when[L v]key pressed if<(Question No.)=[1]> switch to costume [costume2] change[QuestionNo.] by (1)Now do:
when[N v]key pressed if<(Question No.) = [2]> switch to costume[costume 3] change[QuestionNo.] by (1)Hope this helps.
Last edited by EH7meow (2013-04-23 13:21:19)
Offline