Hey guys, I tried searching this forum for the answer and couldn't find one.
So, in my game I'm trying to create a cool fog (or smoke in my case) effect. I used
This nifty tutorial for it. Everything works fine for the most part when I enter the map with the fog it looks amazing. However, when I left, the fog persisted. Not something I wanted. Following the advice in the thread I created an "Erase Picture" event on the next maps to get rid of the fog. That worked too, the fog was gone and the screen was back to normal.
Now, when I go
back into the fog map, I get the following error:
"Script 'sprite_Picture' line 54: NoMethodError occurred.
undefined method 'width' for nil:NilClass"
Neither the mentioned thread, nor any other seem to answer have the answer, I was wondering if anyone has any ideas.
I apologize if this has already been answered, but I checked like maybe four pages of search results and came up empty.
Below are pictures of both the error, and the events in question. Let me know if you need anything else.
Protected download
Protected download
Protected download
Protected download