package assets import ( _ "embed" "tetris/engine/graphics/font" ) //go:embed sprites.png var Sprite []byte const BLOCK_TILE_SIZE = 16 var Font = font.TileFont{ Charmap: map[rune]byte{ 'a': 0x20, 'b': 0x21, 'c': 0x22, 'd': 0x23, 'e': 0x24, 'f': 0x25, 'g': 0x26, 'h': 0x27, 'i': 0x28, 'j': 0x29, 'k': 0x2a, 'l': 0x2b, 'm': 0x2c, 'n': 0x30, 'o': 0x31, 'p': 0x32, 'q': 0x33, 'r': 0x34, 's': 0x35, 't': 0x36, 'u': 0x37, 'v': 0x38, 'w': 0x39, 'x': 0x3a, 'y': 0x3b, 'z': 0x3c, '0': 0x40, '1': 0x41, '2': 0x42, '3': 0x43, '4': 0x44, '5': 0x45, '6': 0x46, '7': 0x47, '8': 0x48, '9': 0x49, '.': 0x4a, '-': 0x4b, '"': 0x4c, }, CaseInsensitive: true, } // Sounds //go:embed blip.mp3 var SFXBlipData []byte //go:embed blip2.mp3 var SFXBlip2Data []byte //go:embed background.mp3 var SNDBackgroundData []byte