Ancurio / mkxp

Free Software implementation of the Ruby Game Scripting System (RGSS)
GNU General Public License v2.0
516 stars 133 forks source link

Implement F12 generated "reset" exception #12

Closed Ancurio closed 9 years ago

Ancurio commented 10 years ago

The 'Graphics' and 'Audio' module will each have to implement their respective reset functions, putting them back into the state they were in right after creation.

The console will probably end up being spammed to death by ruby warnings due to all the redefenitions when executing the game scripts anew. Another option might be to completely shut down ruby and reinitialize it with all the mkxp gear instead, then start executing game scripts again.

More info here (in German): http://www.rpg-studio.de/scientia/RGSS/Reset Some info on problems in RMXP impl (in Japanese): http://www.tktkgame.com/tkool/memo/rgss/reset.html

Ancurio commented 9 years ago

Done: d223d83cbf8240677049c8334ffb347b948f7a2b