Search This Blog

Showing posts with label Windows application. Show all posts
Showing posts with label Windows application. Show all posts

Tuesday, July 30, 2013

ASCII prototype - codename Planet

As mentioned before, I use ASCII game programming as way to prototype concepts and check performance of underlaying system. Movie bellow presents project "Planet". I used here simple STL vector to create 1000 objects and check whats the performance of updating each of them per frame. Updates are simple.



As you could see the code is unstable in terms of CPU cycles per second. Unstability is seen that once Mr "Z" objects move from the corner, and more are to be written to different position in screen buffer, CPU cycles and time increases. Simple fix to clearing screen function that I have written stabilize this to around 70000 cycles per frame.

With that we also loose drops to mentioned 15000 cycles, which wasnt bad behavior. That was clear notification of cache reuse. Still I have filling that having this stabilization, I am now able to work on reusability of cache. Being sure that there is no more strange increase in cycles, gives me stability. To improve cache usage I shall look into update function and write to screen buffor function.

Sounds like interesting topic on side to play with.


Saturday, April 13, 2013

Evolution Engine components diagram

Good saturday folks,

As promised I am posting high level components design for EE. Green background indicates elements I am working currently on. 


This is high level diagram to show you EE from hardware level up to game components. Currently I am codding rendering system. For each of the systems I have set of the features that I will include first and move on to next system. This will allow me to get working version of EE faster. It means that after I create v 0.01 for all components I should be able to produce simple game. Whole development is planned in cycles so after version 0.01 is produced I will start working on next set of features -> v 0.02. and reapeat process until final product is done.

Cheers,
JO

What is Evolution Engine? 
http://evolution-engine.blogspot.com/2013/04/evolution-engine-introduction.html