Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove Enemy [Game Issue]
#1
When you hit an enemy, it removes from the screen, but if you shoot at the position it was, you will still get score. I need help removing it from the screen FOREVER.

Here is the code:
Code:
'TODO: Check for collisions with enemies here
If bullet.Bounds.IntersectsWith(Me.enemy.Bounds) Then
    bulletsToRemove.Add(bullet)
    Controls.Remove(enemy)
    Score += 5
End If
Also known as Rocketalypse.
System.out.println("I prefer Java.");


Messages In This Thread
Remove Enemy [Game Issue] - by Vinwarez - 07-14-2012, 11:12 AM
Re: Remove Enemy [Game Issue] - by Vinwarez - 07-14-2012, 01:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Full screen game overlay? Ecnarf 1 8,111 01-29-2013, 09:14 AM
Last Post: xolara
  Dual Menu Strip Issue Moldraxian 3 15,911 08-15-2012, 12:36 PM
Last Post: brandonio21
  MySQL Database Issue Moldraxian 7 27,591 08-13-2012, 08:58 PM
Last Post: brandonio21
  Module Issue Vinwarez 18 55,644 07-24-2012, 11:47 PM
Last Post: Vinwarez
  Launching Projectile [Game Issue] Vinwarez 11 31,102 07-13-2012, 03:29 PM
Last Post: brandonio21
  How to remove these errors? Vinwarez 6 20,241 03-12-2012, 10:01 PM
Last Post: Vinwarez

Forum Jump:


Users browsing this thread: 1 Guest(s)