I have a game which will have multiple levels and a menu system.
When I select to play the game and enter the main loop I load an entity in that level and set up its collision type using
Entitytype levelname , collisiontype
At the end of the game, if I free the entity 'levelname', does that remove the entitytype and radius settings too or do I have to do anything else? Are there any unusual circumstances where I have to be extra careful when freeing entitys? I noticed freeing a parent also frees anything parented to it.
Thanks,
IPete2.
I
When I select to play the game and enter the main loop I load an entity in that level and set up its collision type using
Entitytype levelname , collisiontype
At the end of the game, if I free the entity 'levelname', does that remove the entitytype and radius settings too or do I have to do anything else? Are there any unusual circumstances where I have to be extra careful when freeing entitys? I noticed freeing a parent also frees anything parented to it.
Thanks,
IPete2.
I