LoadAnimImage

Blitz3D Forums/Blitz3D Programming/LoadAnimImage

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I have an animated image, with 4 frames, and it is 25x25

When I load it , it always says the image does not exist.

Type Character
	Field x,y
	Field img
	Field name$
	Field frame
End Type

char.character = New character
char\img=LoadAnimImage("ashp.gif",25,25,0,4)
MaskImage char\img,255,255,255
char\x=125
char\y=75
Char\frame=1


I've tried loading multiple animations, and they always have errors. , The error occurs at "MaskImage char\img,255,255,255"

It says the image does not exist.

I am also 100% sure the image is in the correct directory, and all the non-animated images load successfully.