Hello everybody…
I tried to make a simple game where a starship is trying to hit some enemies
but I get stuck in performing collision
I used the collision solid procedure…what I have done is that when anything (starship or bullet) hit the enemy then the enemy will be destroyed
But I can’t make that when the enemy is hitted by the starship then the starship will be destroyed but when it hitted by the bullet it will be destroyed
the second thing is that I tried to use the collision method found in Asteroids example in samples folder but it didn’t work with me at all
If you need the source code then I could send it to you
No, I just want to remove it from screen after collision and my problem is how to make enemy destroyed when collision occur between it and bullet and make the starship destroyed when collision occur between starship and enemy
I’ll send the example I had made to see my problem clearly
That’s a too long code to write
my example which I have problem in yousendit.com/download/MVNj … UUIzZUE9PQ
the enemy will be destroyed when it is hitted by bullet (create by
spacebar) or by the ship
I want to make that: when the bullet hit the enemy then the enemy will be disappeared but when the ship hit the enemy then the ship itself will be destroyed