From 64757d18c4b2669c46f2dc88293cf2f0ea1887db Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 21 Apr 2024 19:34:12 +0100 Subject: Add reversing --- player.go | 1 - 1 file changed, 1 deletion(-) (limited to 'player.go') diff --git a/player.go b/player.go index 0b313ed..4fe7aa8 100644 --- a/player.go +++ b/player.go @@ -36,7 +36,6 @@ func (o * GameObject) Update(tilemap Tilemap) { o.onGround = true; o.vx *= friction - o.y -= o.vy o.vy = 0 } else { -- cgit v1.2.1