Page 1 of 1
Posted: Fri Apr 26, 2002 5:22 pm
by BackupUser
Restored from previous forum. Originally posted by Kendrel.
It would be great to have something like LoadAnimImage (From BB).
I think its very usefull for Game Programming, and also for some little effects (Text Scrollers) it would be great.
Any chance to get something like that?
Posted: Fri Apr 26, 2002 8:34 pm
by BackupUser
Restored from previous forum. Originally posted by fred.
It's planned. Should be in v3.20..
Fred - AlphaSND
Posted: Sat May 24, 2003 12:52 pm
by Froggerprogger
I wanted to start a new topic, but here is already the same question!
Because it's damn unconvenient to handle 768 individual images to get access of each line of one 1024x768 picture.
What's the actual status of it's implementation ?
It would be great to be able to load an image with any specified framesize and easiliy call each of the loaded image-frames.
-> load an image, and give x,y-dimensions of one frame of it, e.g. 20x20 or 1024x1 ,etc.
e.g. result = LoadSprite(#Sprite, Name$ , frameX, frameY, frameCountStart [, mode])
then all these frames are automatically loaded with a frameCountID into an array (?) going from top left to bottom right.
(And if the actual frame-dimension while loading goes over the region of the image it's filled up with FrontColor() e.g.)
To show it use e.g. DisplaySprite(#Sprite, x, y, frameCountID)
Many smooth & cool live-graphic-effects using For/Next-Loops can be made very fast & easy with it.
Will it come some day ??

Posted: Sat May 24, 2003 2:57 pm
by traumatic
Froggerprogger wrote:I wanted to start a new topic, but here is already the same question!
Because it's damn unconvenient to handle 768 individual images to get access of each line of one 1024x768 picture.
however, didn't danilo already write a library providing this functionality?
Posted: Sat May 24, 2003 7:54 pm
by Fred
GrabSprite() is your friend here

. It's almost the same than LoadAnimSprite() but requiers some more line (a for/next loop)...
Posted: Sun May 25, 2003 8:40 am
by Rings
what about Danilo's excelent Anim-Library ? there is everything you need in it.
Posted: Mon May 26, 2003 10:02 am
by Froggerprogger
Where to get the Anim-Library from?
I cannot find it on the resource-site.
Posted: Tue May 27, 2003 7:56 pm
by Num3
Froggerprogger wrote:Where to get the Anim-Library from?
I cannot find it on the resource-site.
Try the link on Danilo's signature here

:
viewtopic.php?t=6063&postdays=0&postorder=asc&start=0
It's one of the most excelent work i've seen so far for PB

Posted: Wed May 28, 2003 8:14 am
by Froggerprogger
WOW!
I had no idea that there's such a powerful userlib
Thank you @ll