Text input and display widgets for Ebitengine
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.

24 lines
456 B

//go:build example
// +build example
package main
import (
"log"
"code.rocketnine.space/tslocum/messeji/examples/messeji/game"
"github.com/hajimehoshi/ebiten/v2"
)
func main() {
ebiten.SetWindowTitle("メッセージ")
ebiten.SetWindowResizable(true)
ebiten.SetWindowSize(640, 480)
ebiten.SetMaxTPS(144)
ebiten.SetFPSMode(ebiten.FPSModeVsyncOffMinimum)
g := game.NewDemoGame()
if err := ebiten.RunGame(g); err != nil {
log.Fatal(err)
}
}