tweak embed
This commit is contained in:
parent
17c68f5455
commit
3fab8dbe7a
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ import (
|
||||||
|
|
||||||
type Tilemap struct {
|
type Tilemap struct {
|
||||||
Map [][]int
|
Map [][]int
|
||||||
Src *ebiten.Image
|
Src *ebiten.Image // must be a horizontal tile set
|
||||||
TileSize int
|
TileSize int
|
||||||
GeoM ebiten.GeoM
|
GeoM ebiten.GeoM
|
||||||
|
|
||||||
|
|
2
main.go
2
main.go
|
@ -12,7 +12,7 @@ import (
|
||||||
|
|
||||||
const screenWidth, screenHeight = 320, 240
|
const screenWidth, screenHeight = 320, 240
|
||||||
|
|
||||||
//go:embed assets/*
|
//go:embed assets
|
||||||
var assets embed.FS
|
var assets embed.FS
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Reference in a new issue