Once night appears like 15 seconds later, the game will go from like 60fps to 12fps. idk why
its something with this. idk what exactly tho.
I cannot find a reason as to why this is happening. Could you show more lines of code, so that we Viewers have a better understanding to help you?
u dont need to delete the timer
…also what happen at Enemyx=5?
Ive noticed as well it becomes slow after a amount of time.
Im not sure what the problem is sorry. ![]()
But great game! I love the fire as well!
Hello
At first sight, it seems to be in relation with nightfall.
Perhaps the process to blacken the background is too continous, slowing down the game.
A+
Xierra
Well, its def the code i already have shown. The game runs at perf 60fps when that code doesnt run (i put a impossible to achieve condition or just delete it)
Im not exactly sure what else to show. Also the black fade in and out isnt the problem. It s just a black object + opacity tween.
Thats just making sure there is a cap of enemys in game at once. To prevent lag (not working very well atm lmao)
looks like some event runnin each frame causing lags…but from the screenshot or gameplay i’m not sure…
Is there a way to like just give access to the code of my game? (On the free plan, i dont have a paid plan yet)
If we’re just going with those events you presented, perhaps try tweaking it?
Like, I might remove the “delete timer mob1 from memory”. You’re restarting it anyway.
Though, Idk if that would help or if some operation is being done under the hood because of that. But yeah.
Also I might try to replace the trigger once with a variable. Again, idk if it would help but we don’t really have a lot to work with.
