formatting

This commit is contained in:
Josh Deprez 2021-08-05 12:57:22 +10:00 committed by Josh Deprez
parent 3f17821a0d
commit 5cdbf5b82b
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ type Tilemap struct {
Hidden bool Hidden bool
ID ID
Map [][]Tile Map [][]Tile
Ersatz bool // "fake wall" Ersatz bool // "fake wall"
Src ImageRef Src ImageRef
TileSize int TileSize int
Transform GeoMDef Transform GeoMDef

View file

@ -25,7 +25,7 @@ type Awakeman struct {
func (aw *Awakeman) Update() error { func (aw *Awakeman) Update() error {
const ( const (
bounceDampen = 0.5 bounceDampen = 0.5
gravity = 0.2 gravity = 0.3
jumpVelocity = -5 jumpVelocity = -5
runVelocity = 2 runVelocity = 2
) )