Beispiel #1
0
func (g *Game) Setup() {
	engi.SetBg(0x2d3739)
	g.font = engi.NewGridFont(engi.Files.Image("font"), 20, 20)
	g.circle = g.getCircleTexture(circleSize / 2)
}
Beispiel #2
0
func (game *Game) Setup() {
	engi.SetBg(0x2d3739)
	game.bot = engi.Files.Image("bot")
	game.font = engi.NewGridFont(engi.Files.Image("font"), 20, 20)
}