I have a little question about loadanimimage
when i use normal bitmap i can typing this line :
Tmp_Image=LoadImage(ResizePixmap(LoadPixmap(Image),Tx,Ty),DYNAMICIMAGE)
But when i want t make the same with load anim image.
It"s seem don't work ?
when i use normal bitmap i can typing this line :
Tmp_Image=LoadImage(ResizePixmap(LoadPixmap(Image),Tx,Ty),DYNAMICIMAGE)
But when i want t make the same with load anim image.
It"s seem don't work ?
Strict Graphics 1024,768,32,NOSYNC Global Frame_Num:Int=4 'Global MyImage:TIMage=LoadAnimImage("anim.png",72,100,0,Frame_Num) Global MyImage:TIMage=LoadAnimImage(ResizePixmap(LoadPixmap("anim.png"),144,200),72,100,0,Frame_Num,DYNAMICIMAGE) Global Frame_Counter:Int=0 ' --------- ' Main loop ' --------- While Not KeyHit(KEY_ESCAPE) Frame_Counter=Frame_Counter+1 If Frame_Counter >= Frame_Num Then Frame_Counter=0 EndIf Cls DrawImage MyIMage,10,10,Frame_Counter Delay 100 Flip FlushMem Wend