City-building simulation video game
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
342 B

//go:build js && wasm
// +build js,wasm
package main
import (
"code.rocketnine.space/tslocum/citylimits/world"
"github.com/hajimehoshi/ebiten/v2"
)
func parseFlags() {
world.World.DisableEsc = true
// Adjust minimum zoom level due to performance decrease when targeting WASM.
world.CameraMinZoom = 0.6
ebiten.SetFullscreen(true)
}