Monday, January 14, 2008

Bastard Pacman

Hey, to get the pints working was much easyer than I thought!

I ealyer tryed to get the point relevant values into a seperat .cs file to have more overview over all that new code. That. Was. Wrong.

No matter how usefull it is to have stuff in its own file (you just could copy the file and use it at any other game, with out rewriting all the stuff), stuff like those draw routines should be in the main game class, just to keep it simple. But on the other side of the medal are the two points, that I'm drawing, too much for my PC and the frame rate goes down ...

But on the medal holding hand of that hard work I was facing yesterday I finaly found a easy why of rendering models in the 'WireFrame' style.
A little line, part of the point drawing code, was telling it to draw it in 'Solid' style, so I was wonder what would happen if I would swich that in to 'WireFrame' and bingo, I got a whole wired world.

It should be easy now to draw stuff like a grid or even some useful stuff, I'll have a look into it.

Wish me luck.


Greg the Mad

No comments: