formatting
This commit is contained in:
parent
3f17821a0d
commit
5cdbf5b82b
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue