Please help with my game i really dont know how to do this
Hello
so the game I'm trying to make is the one that the game provides you a key and you basically see like A=# B=(*) and A-Z ok so after it moves to the level and it only shows like #(*)&$&@(!&&$*(@*&(@ and you click solve it!! and a keyboard pops out and you type what *#^*&(^#(^@ means and then it checks with the system if what you typed in the keyboard = what the level answer is and if it does not match the same answer ill tell you like sorry do again
so i really want to know if i should do it with attributes or tables because i want it to check if it match each level...
thanks for your help...
if you know it please help
so the game I'm trying to make is the one that the game provides you a key and you basically see like A=# B=(*) and A-Z ok so after it moves to the level and it only shows like #(*)&$&@(!&&$*(@*&(@ and you click solve it!! and a keyboard pops out and you type what *#^*&(^#(^@ means and then it checks with the system if what you typed in the keyboard = what the level answer is and if it does not match the same answer ill tell you like sorry do again
so i really want to know if i should do it with attributes or tables because i want it to check if it match each level...
thanks for your help...
if you know it please help
Comments
Make a table and fill in all your words. Lets call the table WordsTB.
Make an actor for the engine.
In this actor:
-Rule for Word1-
If WordAtt is tablecellvalue(WordsTB,1,1)
...Add point...
Change Scene to Next Scene.
When in scene 2 simply change the table row to 2, etc.
On each scene of course add the button that opens the keyboard and connect that keyboard to the WordAtt attribute.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Explanation:
If the word is $#^$%&#$^#$ which actually mean 'Alphabetical'.
And the player writes 'Alphabetical', it will change the WordAtt to 'Alphabetical' and then check if WordAtt is equal to the word in the row 1 column 1 of the WordsTB. Since the player is correct you can then add points to the score with a change attribute and it will also change the scene.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I hope this helps!
-When touch is pressed-
Keyboard Input->Change attribue 'WordAtt'
This will open the keyboard, you write the word, and then the engine that I told you about in my last message will check if it's the right word.