Advertisement Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  
Sir Sapo


Hey everyone!

If you haven't noticed already, we put up a new banner at the top of the journal. I think it's pretty damn good, but you guys are the ones that matter the most, so let us know what you think.

I did alot of optimizing today, and before you all yell at me and tell me not to optimize, let me explain. The rendering in the game is done via OpenGL in Ortho mode. I was experimenting today, and I found that I could gain an extra 100 FPS (with Vsync off), if I didn't render the minimaps, and I could get another 50 if I didn't render the menu overlay. So I got to looking at my source code and I discovered the problem, I was re-binding the textures everytime I rendered a tile in the minimap. Apparently, OGL doesn't like switching textures, so I rewrote all the repetive rendering functions, where the program loops through the entire map, rendering as it goes. So now pretty much a texture is bound, and all the stuff that needs that texture are drawn, and then the next texture is bound and then the other stuff is drawn, etc. So that cut down the number of times a new texture was bound from hundreds of times a frame, to maybe 10 times a frame. In the end, I got about a 200 FPS boost when nothing is going on ingame (like missiles firing, guns blasting, etc).

Anyways, thats all we did today, let us know what you guys think about the new banner (or anything else), and I'll talk to you guys later!
Sign in to follow this  


Recommended Comments

Nice banner!

EDIT: Oh, you know what? The moment I clicked on your journal you updated your journal. When I clicked it it was "last updated March 18", but when I entered the journal the last post was March 19 [grin]

Share this comment

Link to comment
AS:FAR is teh 1337 gaem for j00!

Sapo needs to put a soundclip of someone saying "Axis Shift: Fleet Action Redefined!" in a toy commercial voice in the next video

-Mark teh Artist

Share this comment

Link to comment
Hey Sapo, check your phone messages! You are apparently in some sort
of non-communicative state of conciousness, and I need to get some information to you. Also check PM's.

To everyone else: Archangelesk Fleet Carrier some time in the next few days.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!