remove a part of bounce physics I was messing up
This commit is contained in:
parent
dcd1d54f13
commit
373d1d6b11
@ -632,7 +632,6 @@ function toyphin:update()
|
|||||||
dy = 0
|
dy = 0
|
||||||
else
|
else
|
||||||
dy /= 2
|
dy /= 2
|
||||||
new_y = 32 + new_y/2
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
elseif new_y >= 64 and y < 64 then
|
elseif new_y >= 64 and y < 64 then
|
||||||
@ -654,7 +653,6 @@ function toyphin:update()
|
|||||||
dy = 0
|
dy = 0
|
||||||
else
|
else
|
||||||
dy /= 2
|
dy /= 2
|
||||||
new_y = 96 - new_y/2
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user