New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improper cleanup when returning to the title screen #1524
Comments
Probably load game is broken in similar ways. We should be using RAII to automatically clean up stuff. Trying to do it by hand is asking for bugs. |
This could be related to the awful "Game_Temp::restart_title_flag" invented by Sormat whose only purpose is to prevent a Reinitialisation (and BGM restart) when returning from Load to Title via Cancel button. Maybe the flag is not set to "true" in all code paths. That whole game-temp-restart-title-junk should be refactored, already hated it when it was added. |
The problem here isn't the lack of cleanup but that the BGM is not stopped therefore the game reads the wrong value in the first frame of the game. ^^' |
hm, no, there is also another problem... sorry. Now I see it. |
@fdelapena |
Tested with current master and it's still broken but in a different way. Also, when pressing F12 behaves even different. |
Also broken when Game Over happens as documented here: https://community.easyrpg.org/t/not-sure-if-this-has-been-documented-before/707/1 I already had multiple times (though randomly) that the title screen graphic does not appear anymore after pressing F12. Lets take this issue as a catch-all for any bugs related to teardown. |
#2023 might help with this. |
Played tdf2018wildcompodemo in recent master, the demo works flawlessly now after playing the loop 👍 |
If you play a RPG Maker 2003 game and the System2 graphics have been set once (which happens if you enter a RPG Maker 2003 battle) and then you exit the game and start an other RPG Maker 2003 game via the browser the System2 graphics from the first game are still used. This leads even to "checkered" graphics if the System2 filename from the first game doesn't exist in the second game. |
At least it seems the https://easyrpg.org/play/master/?game=tdf2018wildcompodemo&new-game misbehaves on restart, lacks some stuff, e.g. the first scene and missing the rotating "cube".
--new-game
is used with F12The text was updated successfully, but these errors were encountered: