Page 1 of 1

Respawning enemies?

Posted: Mon Nov 07, 2011 10:34 am
by Benni88
Hi guys,

I'm trying to respawn enemies on my map, every time one leaves the level at x = 0. I figured this would be done with a for loop but i'm not sure how to code it. Would there be a way of varying the rate to speed up over time and to continue indefinitely?

Cheers.

(Also, seems to be running when i'm using my Lua editor (Sci-TE) but only shows the love splash when i extract it as a .love.)

Re: Respawning enemies?

Posted: Mon Nov 07, 2011 11:17 am
by Robin
Yes and no. You don't need another loop, since everything in love.update and love.draw already is in a loop.