falling actor "squish" another actor
Mendez
Member Posts: 21
The game Im creating involves an actor (block) that spawns from the top and falls to the ground. I was wondering how I could get the falling actor to "squish" (destroy) another actor (the player) when it lands on top of that actor. But if it doesn't hit the player, the player can jump on top of it. I tried using the rule when player collides with block, destroy player. But that makes the player destroy even when it jumps on top of the block.
Best Answer
-
gamestudent Posts: 504
@Mendez perhaps you could create a boolean attribute called falling, and set it to true.when it is true, and collides with the player then destroy him. then create a rule that says when it collides with the ground or with another one of the bricks then change it to false. hope this helps
Answers
From your description, I think yourgame has potential, Can you show it to us when your done?
@gamestudent thanks I'll try that out and will certainly show it when completed