i put an image to make a simple dark place, but now i can't erase it, no matter where i put the "erase picture 1" this message always appear:
Script 'Sprite_Picture' line 54: NoMethodError occurred.
undefined method 'width' for nil:NilClass
is something of the free version or is something i don't see i did wrong?
i make the image appear like this in a parallel proccess:
@>Control Variables: [001: x] = player's screen X
@>Control Variables: [002: y] = player's screen Y
@>Show Picture: 1, 'Nameless', Center (Variable [001][002]), (100%,97%),
i make the parallel proccess dissapear with a Switch but the message appear anyway :/
thanks for your time
Can you please post screenshots of both the event you use to make the image appear, and the one you use to make it disappear?
I can't get it to show an error. Everything works fine.
Where did you download your Ace Lite from, and how long ago? There's definitely nothing in there that would cause that issue, and I don't recall hearing anything about any picture issues with older versions. There WAS an issue (I think) with variables (but that might not have been Ace Lite).
If you downloaded it a while ago, I suggest you redownload and reinstall. Also make sure you get it from rpgmakerweb.com or Steam and not somewhere else, as that'll ensure you have the most up-to-date version.
i downloaded it from Steam in the first days of september, i will try if downloading it again the issue got fixed
i will edit this comment with the result
Question: my progress will not be erase if i uninstall the software from Steam, right?
Result: the problem continue...
thanks for your time, brb
I wonder if it's trying to activate that event multiple times? Any chance you're holding the key down for a while, or that your key might be a bit buggy? After the Erase Picture, add a command to Wait 60 Frames. See if that works. If it doesn't, try this:
On the first button, turn on a switch after showing the picture. Add a second page to that event with the same sprite in the "pressed" position, and use that switch as one of the page conditions. On the second button, copy and paste the page you've got there. On the first page, change the button to the "pressed" version and delete the commands. On the second page, turn the same switch off after erasing the picture, and set the switch as the condition for the page.
So you'll have:
Button 1
Page 1
Sprite is button, not pressed.
No conditions.
Command to show picture and turn on a switch.
Page 2
Sprite is button, pressed.
Conditioned by switch from previous page.
No commands
Button 2
Page 1
Sprite is button, pressed.
No conditions.
No commands.
Page 2
Sprite is button, not pressed.
Conditioned by same switch as button 1
Command to erase picture and turn off the switch.
This will make absolutely sure that you can't push that button twice in a row. But only go to that trouble if the Wait command doesn't work.
Try putting this into your project data folder. Overwriting the map you have there.