tilegame / TileExperiments

experiments with tiling systems for web games.
https://tilegame.github.io/TileExperiments/
0 stars 0 forks source link

load image relative to window.location #4

Closed fractalbach closed 6 years ago

fractalbach commented 6 years ago

currently it's grabbing tiles from github every time, it should be from window.location + "/img/tiles.png"

fractalbach commented 6 years ago

done:

693f329360bf46dc4b479ed5cd5a9c7f31dbfaa0

note:

it's hardcoded now (for a good reason), and ignores value in json.