5
« on: September 27, 2013, 02:43:46 pm »
Sup guys, I'm relatively new to Stencyl and am currently working on perfecting my first game. I am currently creating a level which involves pushing a rock (which i have categorized under a custom group) off a raised platform to kill a series of enemies that are running below with the screen wrap behavior. The problem i am having is, if the rock misses it stays on the floor so the next time the enemy wraps round it hits the rock and dies.(The idea is to hit the enemy on the fall). I need to create some form of event/behaviour which causes the rock to die and respawn back in its original place if it collides with either the floor or with one of the enemies. So far i can make the rock respawn once but when it dies a second time it disappears completely. any help would be appreciated.
Thanks