From 5cdbf5b82b1b7402d5e970f8e2e4d51124c57877 Mon Sep 17 00:00:00 2001 From: Josh Deprez Date: Thu, 5 Aug 2021 12:57:22 +1000 Subject: [PATCH] formatting --- engine/tiles.go | 2 +- game/aw.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/tiles.go b/engine/tiles.go index 2d37e56..e5c2861 100644 --- a/engine/tiles.go +++ b/engine/tiles.go @@ -19,7 +19,7 @@ type Tilemap struct { Hidden bool ID Map [][]Tile - Ersatz bool // "fake wall" + Ersatz bool // "fake wall" Src ImageRef TileSize int Transform GeoMDef diff --git a/game/aw.go b/game/aw.go index f430321..9291dba 100644 --- a/game/aw.go +++ b/game/aw.go @@ -25,7 +25,7 @@ type Awakeman struct { func (aw *Awakeman) Update() error { const ( bounceDampen = 0.5 - gravity = 0.2 + gravity = 0.3 jumpVelocity = -5 runVelocity = 2 )