Clawing our way toward iter 11… ok its not so bad, lots of new art has arrived, and much play testing and tweaking is happening.
Two important things happened recently – unified/made make sense the field of view setting, this is important because on wide screens with high resolutions models (the game world really) sometimes became distorted due to the fov settings, still may not have conquered this, but on a better path.
The other interesting happening is that the game would crash after about 2 minutes of a fight created via the battle editor. It started with getting reports from the other team member that the game would crash non-stop, which was kind of a shock to me because it didn’t crash on my side (for about a week now it has been very stable on my pc). When I can’t replicate an issue it worries me a lot, because its something I can’t fix/solve easily.
But luckily Drew sent over the instant action file that would trigger the crash and it crashed on my side as well. This is good news because if a bug/issue can be replicated then it can be fixed. Long story short: it turned out to be a crash due to the game using up its max allowed memory. The cause was particle effects, recently we’ve added a debri effect on explosions and impacts. These tended to linger for a decent amount of time while they float and spin away from whatever it is that exploded. The game engine is designed to re-use particles, but only if they stopped playing in the game world, if there aren’t any avaiable particles then the engine creates a new one, well if the debris were lingering then the particle system wasn’t stopped so new ones were being created, until a crash due to running out of memory. Interesting and new problem.
For now the band aid is to cap the amount of particle systems that can be created, but later on a more sophisticated solution will take place. Seperating the debris effect from the explosion effect so, because really they are somewhat independent is a start, testing distance to the player’s ship is another, and also putting limits on the amount of particles created.