Old News
Moderator:Moderators
- XPCportables
- Posts:1020
- Joined:Mon Aug 08, 2005 3:27 pm
- Location:The end of time...
i can't see itmarshallh wrote:Ok, the bulk of the tile munging/loading/saving/rendering is done. I still need to implement some sort of culling (with a 16x16 tilemap, I get 15fps on TNT2)
But anyway, here's what it can do:
There's still the 3x3 roadset I'm not using here - I need to add a converter tile!
This looks uncannily like SimCity 2000....
- Triton
- Moderator
- Posts:7397
- Joined:Mon May 24, 2004 12:33 pm
- 360 GamerTag:triton199
- Steam ID:triton199
- Location:Iowa
- Contact:
sweet man! would probably run like total ass on the gp2x tho, if your gettin 15fps with your current setup its not likely we will get anything thaty close with the 2x, it has no 3d hardware at all
Visit us at Portablesofdoom.org
http://www.flipcode.com/articles/articl ... ling.shtmlsam wrote:What is, fr...
"FRUSTUM CULLING!!"?
Something to do with what shows up in the view... This is why I'm not a game designer...
marshallh wrote:Ok, the bulk of the tile munging/loading/saving/rendering is done. I still need to implement some sort of culling (with a 16x16 tilemap, I get 15fps on TNT2)
But anyway, here's what it can do:
There's still the 3x3 roadset I'm not using here - I need to add a converter tile!
This looks uncannily like SimCity 2000....
What launguage are you using?
- marshallh
- Moderator
- Posts:2986
- Joined:Sat Sep 10, 2005 2:17 pm
- 360 GamerTag:marshallh
- Location:here and there
- Contact:
I got vector-based culling to work! Yay!
I now get about 80fps. Why? With culling, the engine only draws the tiles that you can actually see. Before, it had to draw 256 tiles, every frame. That's why I got 25fps. But on average, I only have to render 50-60 tiles each frame... thus speeding it up considerably!
Now for triple-buffering!
And to clear some things up here, I'm writing this in Visual Basic 6.0, not C++. So a gp2x port is possible, but would require a total rewrite.
I now get about 80fps. Why? With culling, the engine only draws the tiles that you can actually see. Before, it had to draw 256 tiles, every frame. That's why I got 25fps. But on average, I only have to render 50-60 tiles each frame... thus speeding it up considerably!
Now for triple-buffering!
And to clear some things up here, I'm writing this in Visual Basic 6.0, not C++. So a gp2x port is possible, but would require a total rewrite.
- bicostp
- Moderator
- Posts:10491
- Joined:Mon Mar 07, 2005 5:47 pm
- Steam ID:bicostp
- Location:Spamalot
- Contact:
Yay framerate!
So after you finish the game engine, are you going to copyright the code? If you do then you could probably make a game creator based off of it... maybe make it shareware or commercial...
So after you finish the game engine, are you going to copyright the code? If you do then you could probably make a game creator based off of it... maybe make it shareware or commercial...
Twitter
http://www.pcwgaming.com" onclick="window.open(this.href);return false;
If you want a Dropbox account, please use my referral link
http://www.pcwgaming.com" onclick="window.open(this.href);return false;
If you want a Dropbox account, please use my referral link