Asteroid Spawn Optimisation Update


Hello everybody, this small regular update is for test version only. I added visuals for one mob (here comes my dreaming about having all mobs by the end of year). Then I optimised spawning of asteroids.

Originally I was spawning all asteroids in all maps at game start which wasn't problem for demo. However when I started adding asteroid fields in release maps it kicked me back and I started experiencing infinite loops error in Unreal Engine editor. It took me two days before I finally realised where the problem is. I shouldn't do mass spawning in the first place, but that's development. Now only start map will have all asteroids spawned at all times (this is because of multiplayer) and then maps in which are players and maps to which players can jump. Also I spread asteroid spawning to multiple frames so game doesn't briefly stops before spawning is complete. There are only small and short FPS drops, but nothing very noticeable. Then for correct despawning of asteroids I had to do some modifications to jump entries, wormholes and jump target points for jump gates on each map.

This new build contains these new game updates, history of all project changes is available on my discord server (https://discord.gg/4x8489reYV) in changelog channel for Celestial Drift:

  • Updated LevelManager and AsteroidField to use weighted asteroid spawning
  • Set up spawnable asteroids with weights for each map
  • Added visuals for mob Angelic Wings
  • Disabled collisions on GodWrath's meshes
  • Optimised spawning of asteroids in level managers and asteroid fields so now only current map and map where active jump point leads to have asteroids spawned
  • Corrected jump in location in each map so player always ends in sphere of influence of return gate (if it's present)
  • Added asteroid despawn trigger to wormholes
  • Fixed MobGodWrath leaving behind its rays when destroyed

And that is all for today. Enjoy Christmas and New Year celebrations and next time I will hopefully have new trailer for game on Youtube and Steam.

Files

wild-wild-space-windows-test.zip 376 MB
Version 0.9.0.414 5 hours ago
wild-wild-space-linux-test.zip 248 MB
Version 0.9.0.414 5 hours ago

Get Celestial Drift

Leave a comment

Log in with itch.io to leave a comment.