diff --git a/engine/tiles.go b/engine/tiles.go index 641eb58..b07838c 100644 --- a/engine/tiles.go +++ b/engine/tiles.go @@ -8,7 +8,7 @@ import ( type Tilemap struct { Map [][]int - Src *ebiten.Image + Src *ebiten.Image // must be a horizontal tile set TileSize int GeoM ebiten.GeoM diff --git a/main.go b/main.go index 932a368..8d0c7d3 100644 --- a/main.go +++ b/main.go @@ -12,7 +12,7 @@ import ( const screenWidth, screenHeight = 320, 240 -//go:embed assets/* +//go:embed assets var assets embed.FS func main() {