fix tabs
This commit is contained in:
parent
615e8ffb65
commit
e5fff3a5ce
14
drip.p8
14
drip.p8
@ -31,12 +31,12 @@ function update_player()
|
||||
if btn(1) then
|
||||
player.x += 1
|
||||
end
|
||||
if btn(2) then
|
||||
player.y -= 1
|
||||
end
|
||||
if btn(3) then
|
||||
player.y += 1
|
||||
end
|
||||
if btn(2) then
|
||||
player.y -= 1
|
||||
end
|
||||
if btn(3) then
|
||||
player.y += 1
|
||||
end
|
||||
if (player.y < 0) player.y = 0
|
||||
if (player.y > 127) player.y = 127
|
||||
if (player.x < 0) player.x = 0
|
||||
@ -83,7 +83,7 @@ function update_drops()
|
||||
drop.x -= 1
|
||||
drop.y += 1
|
||||
drop.fall_time = 0
|
||||
elseif drop.x < 127 and
|
||||
elseif drop.x < 127 and
|
||||
pget(drop.x+1, drop.y+1) == black then
|
||||
drop.x += 1
|
||||
drop.y += 1
|
||||
|
Loading…
Reference in New Issue
Block a user