creating new objects when needed
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: creating new objects when needed
I must be doing something wrong still. after you said this I looked at my code for a good hour, and changed things around but I could not get it to work. Thanks for all your help so far, but if you could take a look at this code and help me out that would be great. thanks!
- Attachments
-
- main.lua
- (1.1 KiB) Downloaded 108 times
Re: creating new objects when needed
The problem was that you had the enemies table inside love.update, which caused it to become empty every cycle.
Here is your fixed .love file.
Here is your fixed .love file.
- Attachments
-
- main.love
- (551 Bytes) Downloaded 113 times
All your code are belong to us.
Who is online
Users browsing this forum: pgimeno and 8 guests