diff --git a/camera.go b/camera.go index dc5f067..6891d0c 100644 --- a/camera.go +++ b/camera.go @@ -197,7 +197,7 @@ func (v vec2) Mult(s float64) vec2 { } type CameraShakeOptions struct { - Trauma, TimeScale, MaxShakeAngle, ShakeSizeX, ShakeSizeY, Decay float64 + TimeScale, MaxShakeAngle, ShakeSizeX, ShakeSizeY, Decay float64 } func DefaultCameraShakeOptions() CameraShakeOptions { diff --git a/examples/demo/main.go b/examples/demo/main.go index 74e52fc..4e9305f 100644 --- a/examples/demo/main.go +++ b/examples/demo/main.go @@ -169,8 +169,8 @@ func (oyn *Game) Layout(w, h int) (int, int) { func main() { // minf, maxf := math.SmallestNonzeroFloat64, math.MaxFloat64 - minf, maxf := -5000.0, 5000.0 - enemyCount := 2000 + minf, maxf := -2000.0, 2000.0 + enemyCount := 500 enemySize := 64 w, h := 854, 480