Typing Game - Step-by-step Coding Issue

The Game:
I'm trying to make a typing speed/word recognition game. Twist being that instead of the english written alphabet, it will use British Sign Language alphabet and the user has to recognise what it says and type it in the english alphabet before moving onto the next word.

The Issue:
I have a game attribute (boolean) called 'destroy letters' which is true/activated when each letter in the word is also checked (also booleans) and the user hits 'enter/return'.

This destroy letters attribute destroys just the letter actors. Not the spawning actors in which they are created.

I then want the global attribute for 'word 2' to be active so that the letters of this next word appear.

I can't seem to then deactivate 'destroy letters' and activate 'word 2' and then spawn those letters/actors.

Is there an easy way to step-by-step these actions that I am missing?

I keep trying something, it not working then getting lost in my code.

Thanks in advance and please correct me if I have posted this in the wrong place.

Answers

  • FallacyStudiosFallacyStudios Member Posts: 970
    I don't know that anyone could make any solid suggestions or know what is going wrong without seeing it. Try posting a video or images of what you are referring to.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    From the sound of it, you have way too many booleans. Make a table with the letters of each word represented in a row and then just increase the row value (e.g. game.CurrentWordNumber) after you destroy the letters. You may need a short timer that resets game.destroy letters to false, but it's hard to know without your actual rules.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.