twin-stick-ebiten-tutorial/step-1/main.go

22 lines
299 B
Go

package main
import (
"log"
"github.com/hajimehoshi/ebiten/v2"
)
func main() {
// Set window title.
ebiten.SetWindowTitle("Step 1 - Twin-stick shooter tutorial")
// Create a new game.
game := NewGame()
// Run the game.
err := ebiten.RunGame(game)
if err != nil {
log.Fatal(err)
}
}