Blocky Man...new and improved?

Published August 16, 2006
Advertisement
New blocky man sprite. Better or worse?:


I also have another question. When I run Blocky Man fullscreen, the game runs smoothly. However, when the water tiles appear onscreen, the game slows to a crawl. Since the water tiles are the only ones to use SDL_SetAlpha, I assume it has to do with that. Does anyone know how to fix this? It only slows down in fullscreen, it works fine in windowed.

And yes, I do set the display format for all bitmaps now.
Previous Entry I teh winnar?!
0 likes 5 comments

Comments

Namatsu
I like the old blocky man.
August 16, 2006 08:05 PM
ArchWizard
I also prefer classic (and classy) Blocky Man.
August 16, 2006 08:16 PM
rip-off
Are your surfaces hardware surfaces?

SDL does alpha blending in software so it will be slower to use surfaces that have alpha channels and are hardware surfaces.

AFAIK SDL does not be obtain a hardware surface (under windows anyway) while running in windowed mode, possibly the reason why the problem only occurs in fullscreen mode.

Prefer to use all software surfaces while using SDL's alpha blending.

Or switch to opengl. [grin]
August 16, 2006 08:41 PM
Mushu
Old blocky man!!!
August 16, 2006 09:23 PM
Stompy9999
Quote:Are your surfaces hardware surfaces?

SDL does alpha blending in software so it will be slower to use surfaces that have alpha channels and are hardware surfaces.

AFAIK SDL does not be obtain a hardware surface (under windows anyway) while running in windowed mode, possibly the reason why the problem only occurs in fullscreen mode.

Prefer to use all software surfaces while using SDL's alpha blending.

Or switch to opengl.


Ok, I'll give that a try. I believe they are set to hardware surfaces(to be honest, I didn't really understand the difference).

I switched back to the old Blocky man sprite, just so everyone knows.
August 17, 2006 09:09 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement