feat(assets): add constant with the size of blocks in the sprite texture.
This commit is contained in:
parent
0245a5cb43
commit
93a660e8d3
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,8 @@ import (
|
||||||
//go:embed sprites.png
|
//go:embed sprites.png
|
||||||
var Sprite []byte
|
var Sprite []byte
|
||||||
|
|
||||||
|
const BLOCK_TILE_SIZE = 16
|
||||||
|
|
||||||
var Font = font.TileFont{
|
var Font = font.TileFont{
|
||||||
Charmap: map[rune]byte{
|
Charmap: map[rune]byte{
|
||||||
'a': 0x20,
|
'a': 0x20,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue