Hi people, please read this, of it depends my game and it's really important for me :'c. I have been working on a game for over 1 year and suddenly a strange wild bug appeared. (Sorry if my english is not the best, i might have many errors writing, excuse me for that).
The thing is, i have 6 layers on one of my levels. I created the fifth and sixth layer to generate an darkness/lighting effect with torchs and stuff using substract effect on the fifth layer (on the sixth layer i put colored lights to make the effect of fire and diferent kind of lights).
Everything was working perfectly, but suddenly a bug appeared. The animation of one object i used on the 5th layer was doing strange things, it kind of pops out or i don't know how is it called, it just dissapear and reappear. I thougt it was just a little animation bug of only 1 object, but enventually began to happen with almost every object at the 5th and 6th layer. It literally ruined the beatifull darkness effect i created :c
And not only that, the bug apparently is corrupting the code or something like that because since that began to happen, more bugs are appearing: Some sounds don't work correctly, also the layer effect kind off mess up the effect of an object on layer 4 nullyifing it, and at one point the game just crash with the message "edrt.exe has stopped working".
Something interesting is i found that only this last thing (the crash with that message) happens as well on 1 previous game and i didn't noticed before, and i managed to fix it now, it was being caused by 1 object, an object with no code at all, it was just a very very big active object with many animation frames. But then i tried deleting the big objects of my actual level (The one i explained at the start) but i doesn't fix the bug. Help please D: