My Game is crashing when I try to enter my name, wont save too?
so here's the problem.
I have an actor called "keyboard input" and inside that actor I have it when touch is pressed do --
Change the following attribute: game.text
Using the console which prompts the user with:"Enter Your name"
Then I have another actor called "Displayname" and in that actor I have..
a Display text behavior (displaying the text entered by the keyboard input)
and a save attribute under that. save game.text as name
then in the scene previous to that I have a an actor that loads from name load: game.text
What I'm trying to do is have a person enter their name when the game is over(the actor will appear prompting them to enter their name) once they finish entering their name they hit done and lets say they exit their name is still there because they entered it and it saved.
whats happening is that its not saving but also once I press on that keyboard input actor it sometimes makes the whole game crash/
please help.
Answers
The Windows viewer isnt the best and will crash if theres too much going on, or if your rules have an error.
If you close the viewer down, then open it again often, this causes GS to freeze up. Also, the save/load attribute wont apply if you close the viewer down and open it again. You need to just refresh or go back to the menu to see if it works.
Turn off each rule and try to isolate the error first. then look at your rules
Like Balls? Then click here! We've 100 coming soon