Files
realworld/main.go
T
mr.zero da1410cb4a
ci/woodpecker/push/ebitengine Pipeline was successful
screen to scene
2026-08-30 00:15:26 +02:00

29 lines
524 B
Go

package main
import (
"embed"
"flag"
"log"
inkwell "git.teletypegames.org/engines/inkwell"
"git.teletypegames.org/games/realworld/inc"
)
//go:embed assets
var assets embed.FS
func init() { inkwell.AssetFS = assets }
func main() {
var o inc.Opts
flag.StringVar(&o.Scene, "scene", "", "starting scene (empty: the alley)")
flag.BoolVar(&o.Finale, "finale", false,
"start with the finale, to try the Nokia-punk theme switch")
flag.Parse()
if err := inkwell.Run(inc.New(o)); err != nil {
log.Fatal(err)
}
}