1
0
Fork 0

feat(assets): add constant with the size of blocks in the sprite texture.

This commit is contained in:
Henrik Hautakoski 2025-09-14 09:23:58 +02:00
parent 0245a5cb43
commit 93a660e8d3

View file

@ -9,6 +9,8 @@ import (
//go:embed sprites.png
var Sprite []byte
const BLOCK_TILE_SIZE = 16
var Font = font.TileFont{
Charmap: map[rune]byte{
'a': 0x20,