From 3fab8dbe7a5921d1ffbda0515714a7078bc7999d Mon Sep 17 00:00:00 2001 From: Josh Deprez Date: Mon, 26 Jul 2021 21:19:12 +1000 Subject: [PATCH] tweak embed --- engine/tiles.go | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() {