func (g *Game) Setup() { engi.SetBg(0x2d3739) g.font = engi.NewGridFont(engi.Files.Image("font"), 20, 20) g.circle = g.getCircleTexture(circleSize / 2) }
func (game *Game) Setup() { engi.SetBg(0x2d3638) texture := engi.Files.Image("bot") region = engi.NewRegion(texture, 0, 0, int(texture.Width()), int(texture.Height())) batch = engi.NewBatch(800, 600) }
func (game *Game) Setup() { engi.SetBg(0x2d3739) // 背景の色 game.gopher = engi.Files.Image("gopher") // game.font = engi.NewGridFont(engi.Files.Image("font"), 20, 20) }
func (game *Game) Setup() { engi.SetBg(0x2d3739) game.bot = engi.Files.Image("bot") game.font = engi.NewGridFont(engi.Files.Image("font"), 20, 20) }