So I've recently tried implementing a feature so that every 2 seconds (will extend later on) it changes the "daylight" or window.png to the next one in the daylight table in the love.load function.
however now that the window works. if I raise the daylight interval any higher it stops working, but also now for some reason the "enemies" or noodles enemy doesn't work anymore as in they don't spawn.
I have attached the main.lua file
thanks,
Max
Catch those noodles Game - glitches with spawn intervals
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 2
- Joined: Tue Dec 24, 2024 12:23 pm
Re: Catch those noodles Game - glitches with spawn intervals
You forgot to add the file but it sounds like you're probably drawing the background on top of your enemies so it's covering them. The order that things are drawn is important. Things drawn first will be covered by things drawn later, so draw your background first, then the enemies.
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 6 guests