Friday, June 8, 2007

Initialization of game window

I've done part responsible for initialization of game window and game loop. I have to admit that this time I have borrowed some ideas from JMonkey engine.

I wanted to paste here UML diagram but blogger don't want to upload my images and I don't know why* :(

Anyway I have AbstractGame class, which has abstract functions such as start, render, update, initialize, and VariableTimestepGame which implements this functions.



Before the window is created, application shows dialog with options regarding screen res, depth buffer, screen frequency and fullscreen/windowed mode.


*it's working now so I will upload some images

No comments: