In a game that is production ready you would be going through individual assets with the person who designed them and you'd establish when to spawn and despawn them. As designers tend to go crazy and not worry about memory at all, I tend to guide them to think about memory availability in a particular scene. Really depends on the game you're making though
this post was submitted on 29 Jun 2024
14 points (100.0% liked)
Delayed Realisations
41 readers
1 users here now
Did you realize something regarding programming that you should have realized years ago? Then post it here, we don't judge
Rules
- Don't be the reason I need to expand this list
founded 5 months ago
MODERATORS
I think Godot handles the despawn decently, my problem is that many graphical nodes are loaded but kept invisible/hidden until needed, things I'll keep in mind whenever I go for another project.
Other than that, a lot was due to my shoddy practice of leaving single pieces as a 1000x1000 images, instead of a ~40x100 like the arm, the RAM savings are significant