2d animations

Blitz3D Forums/Blitz3D Beginners Area/2d animations

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.

This should get you going...

Graphics 640,480,0,2
SetBuffer BackBuffer()


frames=LoadAnimImage("dg_undead32.png",32,32,0,63)
MaskImage frames,255,255,255
i%=28

While Not KeyHit(1)

DrawImage frames,10,10,i
Delay 150
i=i+1
If i>34 Then i=28

Flip True
Cls
Wend