I search for a graphic function ...

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
neness2000
Posts: 1
Joined: Tue Jul 05, 2005 5:14 pm

I search for a graphic function ...

Post 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
User avatar
neofar
Posts: 47
Joined: Wed Jan 21, 2004 2:40 am
Location: Spain
Contact:

Post 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)
Post Reply