The past week I've mainly been working on the parallel (multi-core) code ensuring its all stable, tracking down any race conditions and seeing how it all performs with lots of battles going on.
Below is some screenshots for the stress test I did to help me decide what to set the maximum number of ships per game to.
The galaxy I generated had 100 star systems, 200 planets and at each planet there is a 36 vs 36 ship battle taking place at exactly the same time. So in total there are 14,400 ships being simulated in full detail. The chances of there being so many battles taking place at once in a typical game will be very small. The much larger "total objects" stat in the screenshots includes asteroids, wreckage as well as the ships.
My development computer has:
AMD Phenom X4 9950 (4 cores)
Nvidia Geforce GTX 260
Overall I'm fairly pleased with the performance so far as I havnt yet profiled or optimised most of the code. However the galaxy view in the second screenshot still needs work as the stars in the background are not rendered very efficiently.
Screenshots at various stages of the test as more ships get destroyed...
Friday, 17 February 2012
Monday, 6 February 2012
Video & Screenshots
The buttons and interface along the bottom of the screen are used for the ship the player is manually controlling at the time. You can instantly jump in and out of any ship you own to affect the outcome of battles or for exploring.
Each circle represents a star system that contains planets. All systems are linked by stargates (the white lines display the routes)
The role of a ship is determined by the type of modules it has fitted. Modules are split into three main catagories:
- Targeted - Requires a targeted object. (weapons, electronic warfare, friendly supporting)
- Active - Requires energy when activated. (afterburners, shield and hull repair)
- Passive - Always active and dont require energy. (energy regeneration, various ship enhancing)
Subscribe to: Posts (Atom)