i have a little problem here when moving layers...
the code first
Code: Select all
@BRUSH 1, "Hollywood.png", {LoadAlpha = True}
@BRUSH 2, "image15.jpg"
DisplayBGPic(1)
EnableLayers()
DisplayBrush(2, 16,#TOPOUT)
DisplayBrush(1, 0, 0)
i = -1013
Function p_MainLoop()
If i < 0
AddMove(1, #LAYER, 1, 16, i)
i=i+1
DoMove(1)
EndIf
EndFunction
SetInterval(1, p_MainLoop, 1000/60) ; 60fps
Repeat
WaitEvent
Forever
Any suggestions?