示例#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)
}
示例#2
0
文件: hello.go 项目: Rubentxu/lbricks
func (game *Game) Setup() {
	engi.SetBg(0x2d3739)
	game.bot = engi.Files.Image("bot")
	game.font = engi.NewGridFont(engi.Files.Image("font"), 20, 20)
}