rem if the player's missle hit the enemie asteroid destroy rem move the missile off screen and give the player 5 points if collision(missile1,player1) then missile1x = 0 : missile1y = 0 : missileFired = 0 : player1x = 154 : player1y = 44 : score = score + 5
However if i change it to this:
rem if the player's missle hit the enemie asteroid destroy rem move the missile off screen and give the player 5 points if collision(missile1,player1) then missile1x = 0 : missile1y = 0 : missileFired = 0 : player1x = 154 : player1y = rand : score = score + 5
The enemie seems to completely by removed from the game, cause if he was off screen i would still be losing lives! Any ideas?
Sincerely,
Open Source Pong
Edited by Open Source Pong, Sun Oct 19, 2008 3:17 PM.














