enemy shooting at player while off screne
Posted 22 March 2012 - 10:00 PM
Posted 22 March 2012 - 10:40 PM
make a hollow box sprite the size of the port. so that any outside fire by enemys will be deleted.
I have an enemy object that shoot at the player, however the enemy continues to shoot that the player when he is outside the view port (off screen). What would be the best way to correct this?
and in all the enemy fire objects. just put in there collision event with the box to "instance_destory()"
Edited by mironic, 22 March 2012 - 10:42 PM.
Posted 25 March 2012 - 09:45 AM
Edited by DZiW, 25 March 2012 - 09:47 AM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users