diff --git a/game/aw.go b/game/aw.go index ee68d2d..1eb1aa9 100644 --- a/game/aw.go +++ b/game/aw.go @@ -99,8 +99,8 @@ func (aw *Awakeman) realUpdate() error { const ( ε = 0.2 restitution = -0.3 - gravity = 0.3 - airResistance = -0.01 // ⇒ terminal velocity = 30 + gravity = 0.2 + airResistance = -0.02 // ⇒ terminal velocity = 10 jumpVelocity = -4.2 runVelocity = 1.4 coyoteTime = 5 diff --git a/main.go b/main.go index 134b5e3..2dd6689 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,6 @@ package main import ( - "flag" "image" "image/color" _ "image/png" @@ -14,16 +13,12 @@ import ( "github.com/hajimehoshi/ebiten/v2" ) -var rewriteLevel1 = flag.Bool("rewrite_level_1", false, "Rewrites level1.gobz from an inbuilt struct literal") - func main() { - flag.Parse() - ebiten.SetWindowResizable(true) ebiten.SetWindowSize(640, 480) ebiten.SetWindowTitle("TODO") - if *rewriteLevel1 { + if false { writeLevel1() }