Zelda-Universe / Tingle

An open-source framework for maps, with a focus on gaming communities.
https://zeldamaps.com
GNU General Public License v2.0
18 stars 2 forks source link

Better background graphic #132

Open GoldenChaos opened 6 years ago

GoldenChaos commented 6 years ago

Right now the page background is flat black and looks super lame when loading new tiles. We should use a Sheikah Slate-inspired grid graphic.

@neoluxx do we have this graphic already? I know you've made a lot of sheikah stuff.

neoluxx commented 6 years ago

i can do that; i would wanna use a brand new one so that it ends up being more in line w/ ZU's upcoming design language. I'll put it on my to do list.

neoluxx commented 6 years ago

how large are the map tiles? i think i would wanna make the tileable background the same tile size as the map tiles.

GoldenChaos commented 6 years ago

@neoluxx all of the tiles are stored in this repo! https://github.com/Zelda-Universe/Zelda-Maps-Tiles

danilopassos commented 6 years ago

@neoluxx / @GoldenChaos , please don`t change the original tiles. You can either create a new tileset so we can add to the map or, if the image is not too big, just overlay.

Examples: https://stackoverflow.com/questions/42854382/leaflet-adding-a-custom-background-image-to-a-worldmap https://gis.stackexchange.com/questions/243497/image-as-a-background-map-in-leaflet

Our tiles are 256x256.

danilopassos commented 6 years ago

Also, bgColor is controlled by the database configuration in the map container (if not mistaken). Would need to a new column for bgImg (if going with overlay solution) and specify there, so new maps would be able to have different backgrounds.

neoluxx commented 6 years ago

We're not gonna change the original tiles; I just wanted to see how large the tiles themselves were so that I could design a tileable background with the same dimensions. Seems like it might be a rather versatile solution both in terms of loading times and in future iterations for other games' maps.

I'll get a 256x256 tile put together styled for BotW this week, and you guys can implement it however you see fit.

neoluxx commented 6 years ago

Background tile:

512px: zmaps tile

256px: zmaps tile 0 5x