fix deceleration
This commit is contained in:
parent
9955df6844
commit
3ec786f416
@ -46,7 +46,7 @@ function _update60()
|
|||||||
if (btn(3)) gdy += acc
|
if (btn(3)) gdy += acc
|
||||||
if (btn(4) and btn(5)) gdx,gdy=0,0
|
if (btn(4) and btn(5)) gdx,gdy=0,0
|
||||||
|
|
||||||
if btn == 0 or btn(4) then
|
if btn() == 0 or btn(4) then
|
||||||
acc = 1
|
acc = 1
|
||||||
elseif btn(5) then
|
elseif btn(5) then
|
||||||
acc *= 1.1
|
acc *= 1.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user