adjust jump + gravity

master
Pascal Batty 2019-04-29 13:57:23 +02:00
parent 80490976bb
commit db63ef5755
1 changed files with 3 additions and 3 deletions

View File

@ -34,8 +34,8 @@ do
end
function sol(x,y) return solids[mget(x//8,y//8)] end
g = .3
j = -4
g = .15
j = -3.1
anis={
idle={257,257,258,258,259,259,260,260},
@ -182,7 +182,7 @@ do -- Player
end
if btnp(4) and self.vy == 0 then
sfx(2,54,15,1)
self.vy = j
self.vy = j
end
end