I would like to make a scene like donkey kong country
agueis
Member Posts: 420
Hello i would like to make a scene like donkey kong country when he spawns in 9 or 10 multiple barrels, any idea how to make it?
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
When actor collides with actor [barrel] AND key [a] is down
Change attribute game.randomBarrel to random(1,10)
Change attribute self.position.X to randomBarrel*100
If you space the barrels every 100 pixels, it will land your hero on a random barrel.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User