• Register

A 2D Space RPG / Space Shooter bringing elements from games like Freelancer and combining them with popular modern elements such as random loot, leveling and a skill point system. Market, Trade, or fight your way through 73 unique Systems with over 500 unique locations spanning the 5 Factions. With a story bringing the player through the 5 factions and their ideologies, it is up to the player to decide how the story will end.

Add media Report RSS Stress Testing the bullet collisions on a large scale.
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Description

For each update tick, there is a collision check for every enemy, for every bullet. So when there are an insane amount of bullets on screen combined with heaps of enemies, the game needs to run something like 50 * 100 (5000) collision detections every Tick, and to keep 60 frames a second that needs to resolve at least in 1/60th of a second. I had to settle the fire rates + spawn rates at this because I had it crazier and it just couldn't keep up. Tried cleaning the code as much as I could.