PowerUp Like Mario Star
heman85
Member Posts: 36
Guys, I have an PowerUp Actor like the Star on Mario game, If the Player have the Star (true) and touch any enemy, the player doesn't dies.
The problem is, I have a Rule for Kill the enemies only if the player jump over the enemy (as Mario style). If I have the Star (attribute set to true) and I killed an enemy jumping over his head, I lost the star powerup.
I want to lose the powerup only if I touch the enemies on X position (left side or right side of the enemies) not on the top.
Any suggestions?
Here my Rule on Player
http://tinypic.com/r/wujvqp/8
Enemy have another rule = If Enemy Collide with Player and game.PowerShield = false
Player Dies
Comments
This video will help you:
Thank You it help me a lot.
To begin programming for GameSalad I recommend Jamie croos tutorials , greetings
Awesome, glad it helped! Thanks for the kind words @agueis.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page