C++ 2D Shooter project (Htbaa's Worklog)

Build on C++ with SDL and KrasEngine! RSS Feed
Worklogs > Htbaa's Worklogs > C++ 2D Shooter project > OpenGL working the way it should!

OpenGL working the way it should!

I am happy to say that I'm finally able to upgrade KrasEngine to use OpenGL for rendering. I had a problem with my colorkey not working, but that has been fixed now. My pixeldata didn't contain a alpha value per pixel. So all I had to do was convert the image from RGB to RGBA format, which works like a charm!

Although I'm not pleased by the time required to convert all sprites to textures it'll do for now.

Also, texts created with SDL_ttf are not anti-aliased but that's got something to do with colorkey. Need to figure out how to fix that as well.

I can now add realtime rotation and scaling which makes everything a whole lote more flexible. But I do plan on keeping SDL's software rendering in it. Not in a way that you can switch á lá minuté but just support it. The game should be designed for it.

Keeping software rendering would make it possible to easily (yeah right) port the game to the PSP or Rincy's beloved GP2X. Although I don't have one :-).
(Posted on April, 21st 2008, 21:49)

Comments


Rincewind said:
So what about the new game? ;)

PS. My GP2X is being neglected, 'beloved' wouldn't be the proper way to describe it.

:tesla:
(Posted on April, 22nd 2008, 01:45)


Sandman said:
You can give it to me for...uh..safekeeping.

Good going Htbaa, let's have another release soon.
(Posted on April, 22nd 2008, 01:49)


Htbaa said:
I'll try to release milestone 3 very soon. After that no more releases until the game is finished. I think :).
(Posted on April, 22nd 2008, 17:59)

Post New Comment

You must log in or register to post comments.

Worklogs > Htbaa's Worklogs > C++ 2D Shooter project > OpenGL working the way it should!
Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!