Bonjour pirates de l'espace!
I had a small aha moment yesterday. There around 3 planet levels in the game where you...well play on a planet
There was always something missing. I have aliens, different flora and fauna which has an impact on the player but i was missing some special moments.
Funny enough i had one defence system lying around in my folders which is a lot of fun.
Enemy turrets which fire grenades. A shadow appears on the ground where the grenade will hit and this concludes in a big explosion. The explosion deals massive damage but also is able to destroy terrain and and objects.
The turret has very low hitpoints right now but is difficult to destroy because it is only destroybale when the turret is firing. This creates a very fun timing puzzle. Take a look:
And this is what was missing. An enemy interaction which suits the open level structure of a planet. I love it!
Small fix which increased the performance a lot (and i was aware):
I trigger an explosion actor whenever an explosion should happen. This actor will deal damage, kill, deform level structures and so on. Is is one of the most important actors i have.
It triggers a "whiteflash" when created to add tension. The "whiteflash" are 2 frames which are white and fill the whole screen. You wont really see it but its a nice subtle effect.
Every explosion triggered this (also partickels) which led to issues as we all know (dotnt draw too much over another). I have sometimes 40 explosions happening the same time.
I changed it too a whitflash actor which is only shown when its not shown by one of the for example 40 explosions. Same effect but much better perfromance. Tiny additional fix: Showing only particles which are on screen (no brainer).