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.)
Respawning enemies?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Respawning enemies?
- Attachments
-
- Benni's Project.love
- (3.65 KiB) Downloaded 89 times
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Respawning enemies?
Yes and no. You don't need another loop, since everything in love.update and love.draw already is in a loop.
Help us help you: attach a .love.
Who is online
Users browsing this forum: Google [Bot] and 2 guests