image loading errors? wtf? help

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
sg57
Posts: 144
Joined: Fri Oct 14, 2005 2:26 pm

image loading errors? wtf? help

Post by sg57 »

does anyone know the best way to display a .png as a backround?

Code: Select all

blitAlphaImageToScreen();
this is what i used and now its a pain in the ass and it wont even load completely without flashing a billion tiems making the grpahics awful,

also, whats the best way to dsiplay images over the backround meaning

Code: Select all

blitImageToScreen();
would that be the best or what? i keep getting these gay flahsing graphics for 5 seconds trhen it all turns black and freezes its stupid if i cant even load graphics! LUa it was no problem you just need to sometimes add screen:fillrect(ya da ya da) and it wouldnt flash or anything, but now my program flashes the pictures i blitted for 5 seconds and then goes all black thne freezes, so please help, what am i supposed to do if i cnat laod graphics?!!!?!?!?
Post Reply