Search found 3 matches

by vreahli
Sun Aug 21, 2016 11:41 pm
Forum: Support and Development
Topic: Best practice for destroying enemies in array
Replies: 10
Views: 8971

Re: Best practice for destroying enemies in array

I like the world and world manager idea - thanks! Might use that
by vreahli
Sat Aug 20, 2016 4:59 am
Forum: Support and Development
Topic: Best practice for destroying enemies in array
Replies: 10
Views: 8971

Re: Best practice for destroying enemies in array

Thanks for all the help guys! @_@ This helped a ton, I didn't expect such a huge response. You guys rock! So, here's the solution I settled on (for now, at least!) First off, I flagged old bubbles as deletable... -- Inside bubble self.advanceFrame = function() local anim = self.animations[self.anima...
by vreahli
Thu Aug 18, 2016 5:22 am
Forum: Support and Development
Topic: Best practice for destroying enemies in array
Replies: 10
Views: 8971

Best practice for destroying enemies in array

Heya! First few days with Love2d here - I was wondering what the 'right' way to remove an object from a table is. I'd like to destroy it at the "destroy here..." point. Also any ideas about best practices or what to read up on for larger love2d oriented games, I'd love to hear. Thanks in a...