Catch those noodles Game - glitches with spawn intervals

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
TheBowtieBoy
Prole
Posts: 2
Joined: Tue Dec 24, 2024 12:23 pm

Catch those noodles Game - glitches with spawn intervals

Post by TheBowtieBoy »

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
User avatar
marclurr
Party member
Posts: 159
Joined: Fri Apr 22, 2022 9:25 am

Re: Catch those noodles Game - glitches with spawn intervals

Post by marclurr »

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.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 6 guests