martedì 15 dicembre 2015

Day 100: 100!

Well, I managed to reach 100 days!
I didn't expect that, and I'm pretty satisfied with it... the engine has quite a lot of features, and I really learned a ton of stuff, which is the most important thing.

Today I just did a little of refactoring, and created 2 scenes to test the scene management system (and the memory allocators).
One bad thing I noticed is that the particle engine has a bad deallocation time with really high numbers of particles (picture), because each one of them must also deallocate its components, since a particle is a gameobject. The same problem is avoided in creation, because the components are created runtime when the particle is used, so the load time is diluted between multiple frames.

Tomorrow I'd like to implement a system that associates a string name to each scene, so that they can be created by name, maybe also through the shell command line. Right now they are manually created through the game, which is not really ideal.




Nessun commento:

Posta un commento