03-01-2009, 03:10 PM
Yes, I'm creating my own scrolling code. Currently practicing with my object editor.
So I have a problem, yes it scrolls but the lazyness isn't working
Lazyness is what's going to make it scroll lately smoothly kinda like a drag effect. But it just jumps to the scrollamount.
Any ideas why it doesn't loop? Like ViewX = + 1, ViewX = + 1, ViewX = + 1, ViewX = + 1
So I have a problem, yes it scrolls but the lazyness isn't working
Code:
Case Dir_Right
If ViewX < TotalWidth Then
TempV = ViewX + ScrollAmount
Do Until ViewX = TempV
ViewX = ViewX + Lazyness
Sleep 1
DoEvents
Loop
End If
Lazyness is what's going to make it scroll lately smoothly kinda like a drag effect. But it just jumps to the scrollamount.
Any ideas why it doesn't loop? Like ViewX = + 1, ViewX = + 1, ViewX = + 1, ViewX = + 1