Zelda: Engine Help

Blitz3D Forums/Blitz3D Beginners Area/Zelda: Engine Help

Thanks,

here is my code for link just on movement left...

If Not KeyDown(200) Or KeyDown(205) Or KeyDown(208) Then

While KeyDown(203)

If MilliSecs() > tmrlink_left + 50 Then

tmrlink_left=MilliSecs()

frmlink_left=( frmlink_left + 1 ) Mod 7

End If

If MilliSecs() > tmrlink_head_left + 50 Then

tmrlink_head_left=MilliSecs()

frmlink_head_left=( frmlink_head_left + 1 ) Mod 3

End If

DrawImage gfxlink_left,XB,YB,frmlink_left

DrawImage gfxlink_head_left,XB,YB-8,frmlink_head_left

Flip

XB=XB-1

Cls

Wend


the other question is do I have to put all my drawimages in this line of code, or can I make another set of code.., this code is in a function the is loaded in the main code screen.. please let me know