random spawning
jessica.michael
Member, PRO Posts: 27
Hello!
I am making a math game where the numbers need to spawn from the top of the scene and move downwards. How can I make numbers random spawn across the top of the scene?
Comments
Spawn an actor at whatever position you want along the top of the screen and then in the spawned actor, have a rule that changes an actor attribute such as self.myValue to random(1,10) or whatever upper limit you want. Then use a Display Text to display self.myValue and give the actor a Move rule.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
like this?