⚠ Cookies ⚠

By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.

Projects

Adventure Game Studio OfficialScripton_event eEventQuitGame
monkey_05_06I 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 WizardDuplicates http://www.adventuregamestudio.co.uk/forums/index.php?issue=612.0
Closing.
© Adventure Game Studio 2024. Page design by loominous and Darth Mandarb; coding by AGA.
Page generated on 05 May 2024 at 22:06:13