Page 1 of 1

I search for a graphic function ...

Posted: Tue Jul 05, 2005 7:49 pm
by neness2000
I've already try some of example available here.
I coded a first game for fun based on SPACE INVADERS example (a nice frogger)
Now i would want to go further but i don't see anywhere what i'm looking for.
I explain :

When i have tryed graphical experience on my pc, i remember i had function that let me load a graphic into memory and then take a part of this graphic to display on screen
usage :

imagine that you have a bitmap or a gif with all the move of a sprite.
You load this bitmap in memory and then you use a function that say something like display on main screen the image you'll find in this bitmap at position X,Y with a size of W,H. It let you make some smooth animation

i have searched for a function like this but i can't find one anywhere.

I've try to change myself the function used in most basics examples but no luck yet.

By the way is there also a function that let you load a graphic from disk instead of having to use bmp2c to convert the bmp to a C array ...

Thanks to help me and greetings to all the team here

Posted: Tue Jul 05, 2005 8:10 pm
by neofar
try this
LlibPlanar > http://ps2dev.ofcode.com/index.php?mode=new&id=11
There are other some Libs... but this it's the best (because it's mine, jeje)