Hello,
I need help with my game, it is a simple obstacle “jumping” game, and I need to make the player not to be able to explode when hits the floor, only when it hits the rock(obstacle). I really dont know how to make this, and I need any help I can get.
I made everything, all the images are loaded, jumping is in the game (its more like using the jetpack, rather then jumping, but its still my first game ), I have exploding on impact in the game and i need to make it explode only on impact between 2 things (the player and the rock), but still to be able to interact with the floor, and walk on it.
Thank you.
PS: if you need my code, I’ll post it