News for hackers. Stuff that matters.
Re:Leaflet 1.0 – A JavaScript library for mobile-friendly in... by IshKebab on Tuesday September 27, 2016 @11:52AM (#12590498)
I don't think it's really designed for games. It's more for stuff like event maps, theme park maps, office maps, transit maps, etc.
Re:Leaflet 1.0 – A JavaScript library for mobile-friendly in... by davojta on Friday September 30, 2016 @06:18AM (#12611569)
It's really possible to use in online web games. I have participated in development of global map in wargaming: https://ru.wargaming.net/globalmap/ . It's turn based strategy for clan leaders in worldoftanks universe.
Re:Leaflet 1.0 – A JavaScript library for mobile-friendly in... by Kiro on Tuesday September 27, 2016 @12:10PM (#12590671)
Thanks. What's the difference though? I don't want to show it inside the game. It will be on a separate website.
Re:Leaflet 1.0 – A JavaScript library for mobile-friendly in... by Mchl on Tuesday September 27, 2016 @01:04PM (#12591099)
Personally I think it should be great for such use, especially with some improvements version 1.0 has (like the crs-simple) you mention. You will have to split your PNG image into tiles though, and ideally have different zoom levels available too (leaflet won't do that for you, but there are tools floating around)