Search found 119 matches

by GungnirDev
Fri Jan 04, 2013 7:23 am
Forum: Support and Development
Topic: enemy removal code (UPDATE: caused a hit detection bug)
Replies: 15
Views: 7431

Re: simple enemy removal code

The code works great for what I needed and I do much appreciate it, but now I have an error in hit detection, usually with the grouped enemy waves. It's intermittent, though.
by GungnirDev
Wed Jan 02, 2013 9:59 pm
Forum: Support and Development
Topic: enemy removal code (UPDATE: caused a hit detection bug)
Replies: 15
Views: 7431

Re: simple enemy removal code

Ah very well. http://www.2shared.com/file/mg9yQFl6/Invictus.html It's so big, so I have to go to 2shared to upload it. Here you are. I don't really need the enemies to come back, because it's a one-way sidescroller. I just need each enemy to be deleted when I shoot it or when it leaves the screen. I...
by GungnirDev
Wed Jan 02, 2013 10:35 am
Forum: Support and Development
Topic: enemy removal code (UPDATE: caused a hit detection bug)
Replies: 15
Views: 7431

Re: simple enemy removal code

@ Boolsheet: I'm sorry, I'm...not the best at this, so I'm not really sure what that code is even supposed to do. @ Wojak: Yeah, I need to remove the enemies, because I need to limit the spawn of a certain enemy type so that it won't spawn if there are a certain number of enemies on the screen. Too ...
by GungnirDev
Wed Jan 02, 2013 3:29 am
Forum: Support and Development
Topic: enemy removal code (UPDATE: caused a hit detection bug)
Replies: 15
Views: 7431

Re: simple enemy removal code

Guys, I'm really lost here. Does anyone know of a good way to ensure that all enemies are removed when they leave the screen?
by GungnirDev
Tue Jan 01, 2013 9:57 am
Forum: Support and Development
Topic: enemy removal code (UPDATE: caused a hit detection bug)
Replies: 15
Views: 7431

enemy removal code (UPDATE: caused a hit detection bug)

Thanks to Wojak who helped me adapt the code in order to remove enemies as they go offscreen, however I now have a hit detection bug which I cannot seem to resolve. Enemies now seemingly need to be shot in a certain order which, while that may be OK for some other interesting space shooter would mak...
by GungnirDev
Tue Jan 01, 2013 9:32 am
Forum: Support and Development
Topic: AnAl question for enemies
Replies: 6
Views: 2200

Re: AnAl question for enemies

anyone?
by GungnirDev
Thu Dec 27, 2012 7:10 pm
Forum: Support and Development
Topic: AnAl question for enemies
Replies: 6
Views: 2200

Re: AnAl question for enemies

No, that's OK.

Printing debugging info is one thing but the problem is that it doesn't appear to be a bug. I'm not getting any sort of error message; it's all in working order except that the enemy disappears halfway down the screen.
by GungnirDev
Sun Dec 23, 2012 10:12 pm
Forum: Support and Development
Topic: AnAl question for enemies
Replies: 6
Views: 2200

Re: AnAl question for enemies

anyone?
by GungnirDev
Sat Dec 22, 2012 5:14 pm
Forum: Support and Development
Topic: AnAl question for enemies
Replies: 6
Views: 2200

AnAl question for enemies

I want to make an enemy type glow and have designed a simple animation for this using ANimations And Love (AnAl). Problem being that I could not simply assign this IMG to all enemies, so I assigned them all a dummy "null" image and drew the animation at enemy.x, enemy.y provided enemy.img ...