Respawn ball
wongj19
Member Posts: 45
in Help Wanted
How could I make a resplendent ball function in my game. I want it so that after I flick my ball, a new one spawns.
I was thinking something along the lines of:
Make and attribute called flick.
Rule: when flick is false, spawn actor (ball)
Not sure if this is right though
Comments
When [player flicks ball]
Spawn actor [ball]
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Hi sorry for the inactivity but could you please go into a bit more detail when explaining how to respawn a ball. Any other help would also be appreciated.
You provided this:
So I gave an example of how to spawn a new actor. But I don't know how you are "flicking the ball" so I can't provide more details than that. You might want to trigger the spawn behavior when the ball reaches a certain x,y position or after a certain amount of time.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User