Projects
Adventure Game Studio Official | Script | on_event eEventQuitGame |
---|---|---|
monkey_05_06 | I couldn't find anything similar to this in a brief forum search or in the tracker, so I figured I would suggest it. Recently there have been some reports of warnings being generated due to DynamicSprites not being deleted before the game is ended. If a module creates DynamicSprites, but the user fails to delete them before they quit the game, these warnings will be generated. So, to prevent this, I'm proposing that a new value be added to EventType, eEventQuitGame. That way module creators could call DynamicSprite.Delete() for all of their DynamicSprites before the game exited, which would stop these warnings from being generated. | |
Crimson Wizard | +1. Or that could be new standard "game_quit" function (as opposite to "game_start"). | |
Crimson Wizard | Duplicates http://www.adventuregamestudio.co.uk/forums/index.php?issue=612.0 Closing. |