Start Game Issue
kajuto
Member Posts: 314
Hi there!! Thanks in advance. How can i create a button that called let say..Start , when the player press it the whole scene start animate, falling object, ect.?? But without affecting the scene when the player touch Level 1 for example the scene start blinking
Explain in step by step please, I'm new. thanks
Explain in step by step please, I'm new. thanks
Comments
In your start button have when touch is pressed:
-change attribute startGame to true
Then everything in the game that you only want to happen after you press the start button, put those rules and behaviors in another rule when attribute startGame is true
first, what u mean when u said "have it set to false" ?
second, how i should to do it? about the last sentence
1) When you create your boolean attribute, there will be a checkbox next to it. Make sure thats unchecked, that means its false.
2) All your animations, behaviors to make the objects fall, all that sture that you only want to ahppen after you press the start button. Put all those in a rule when attribute startGame is true.
Ive explained it all in steps, if you still dont get it check out gshelper.com and the gamesalad cookbook youtube channel to start watching tutorials, and get familiar with gamesalad.
cheers
example:
main character actor:
when Touch in Press
change att.
"Startgame" to "True"
i do that with each actor, right?
For example you have a start button, actor A that you want to animate after you press the start button, and actor B that you want to move after you press the start button.
So in your start button have a rule when touch is pressed
-change attribute startGame to true
In actor A have a rule when attribute startGame = true
-then put the animate behavior in that rule
In actor B have a rule when attribute startGame = true
-then put the move behavior in that rule
cheers
i put the falling object a behavior that:
change att gamestart is true, it start falling anyway jajajaja why?!
You put it in a rule when attribute game start=true
You dont change gamestart to true in the falling object.
You might need to look over some tutorials and get a better understanding of gamesalad
Main Character
Rule
Att gamestart is false
moveto left and right(it don;t move) which is okay.
but after i click the start button i can;t move the main character to left nor right, what i miss?
You have when attribute game start is false
-move to left and right
Once you press the start button, gamestart is true, so that rules stops working, because it only when game start is false.
cheers
cheers