-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
This is more of a feature request than an issue, mapgen2 may work as intended, but the symptoms when map-icons.png
is not present are really weird
Recreate
cd /path/to/your/mapgen2
./build.sh
mkdir /tmp/mapgen2
cp -r build embed.html /tmp/mapgen2
cd /tmp/mapgen2
/opt/google/chrome/chrome --new-window file://$PWD/embed.html
The map shows without icons, but any action zooms the map to the upper left corner(!?).
If map-icons.png
is copied to /tmp/mapgen2
, everything works (hit F5
to re-read).
I am pretty sure there is a way to include map-icons.png
but I don't know esbuild well (not at all yet actually).
Background
I want to write a hex-based game (only in the idea/investigation phase yet) and plan to decorate hexes with in a similar way as the icons. Since I can fix the grid, I think it can look really good, e.g. take neighbors into account to form a more natural coast line.
Metadata
Metadata
Assignees
Labels
No labels