|
#3 you could do something like this
old_Y VAR byte
old_X VAR byte
old_Y = p1_y
old_X = p1_x
...
...
...
MAINLOOP:
gosub INPU
IF p1_y > old_Y THEN
p1_y = ((p1_y - old_Y) / 2) + old_Y
ELSE
IF p1_y < old_Y THEN
p1_y = ((old_Y - p1_y) / 2) + p1_y
ENDIF
ENDIF
' do same for p1_x
...
...
...
goto MAINLOOP
This would make the input be scaled based on the previous value instead of just jumping.
__________________
I can imagine a world without hate, a world without fear, a world without war. And I can imagine us attacking that world, because they would never expect it.
|