pawbyte / Game-Pencil-Engine-Editor

Game Pencil Engine a game engine written from the ground up.
https://gamepencil.net/
MIT License
101 stars 20 forks source link

Implement tiny garbage management #131

Open nhurde opened 4 weeks ago

nhurde commented 4 weeks ago

For branches and objects implement a few frame delays before the actual delete calls is made after object destroy.

The object should be removed from all main game and scene vectors/lists/maps; however, a few frames will be needed for the actual delete call.

This of course can happen at the end of the frame delete was called on.

Objects are currently raw pointers and maybe later made into shared or smarter pointers. So pending any design changes..

nhurde commented 4 weeks ago

Spring 2024 goal.

nhurde commented 4 weeks ago

Spring 2024.