Editing
Brighter Shores:Map Project
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
The Brighter Shores Map Project is involved in creating interactable maps on the wiki! == Contributors == * [[User:Gau Cho]] * [[User:Microbrews]] * [[User:Jetta]] * [[User:RandomnessofD]] * [[User:Merds]] * [[User:Anyny0]] * @valsekamerplant (discord) == Leaflet == *[https://leafletjs.com/ Leaflet 1.9.4] is used as a [[MediaWiki:Gadgets-definition|javascript gadget]]: **[[MediaWiki:Gadget-leaflet.js]] **[[MediaWiki:Gadget-leaflet.css]] *[https://github.com/brunob/leaflet.fullscreen/releases/tag/v3.0.2 Leaflet.Fullscreen 3.0.2] Plugin: **[[MediaWiki:Gadget-leaflet-fullscreen.js]] **[[MediaWiki:Gadget-leaflet-fullscreen.css]] (css file slightly modified) == Leaflet-Wiki (bs-cartography) == See the project: [https://github.com/GauChoob/bs-cartography https://github.com/GauChoob/bs-cartography] which is compiled into a [[MediaWiki:Gadget-leaflet-wiki.js|javascript gadget]]. The Leaflet Wiki code was written by [[User:Gau Cho]], with some contribution from [[User:Microbrews]], inspired by some previous map work done by [[User:Anyny0]]. The episode and room polygons were generated by [[User:Microbrews]], [[User:Gau Cho]], [[User:Jetta]] and @valsekamerplant. The entity data was manually compiled by [[User:Jetta]]. The room_data is compiled and copied from the bs-tile-generator project - see below. A set of links generated by the entity data will be found here: [[User:Gau_Cho/EntityLinks]]. == Generating the Map (bs-tile-generator) == See the project: [https://github.com/GauChoob/bs-tile-generator/ https://github.com/GauChoob/bs-tile-generator/] The [https://github.com/GauChoob/bs-tile-generator/blob/main/map.png high-quality base map image] (48x48 pixels per tile) was manually compiled by [[User:Microbrews]] with a bit of help from @omnipoet on Discord for some restricted rooms. The cache contains 64x64-sized tiles, so eventually a future goal could be to automatically generate the base map. The [https://github.com/GauChoob/bs-tile-generator/blob/main/map_data/room_data.json room overlay data] was manually compiled by [[User:Gau Cho]], [[User:RandomnessofD]] and [[User:Microbrews]]. [[User:Gau Cho]]'s [https://github.com/GauChoob/bs-tile-generator/ script] automatically creates the room overlays, cuts up the large image into 256x256 tiles using vips, and then uploads the map tiles to the wiki. A bot account with admin privileges is required to update the map using the script. For all of this to work smoothly, a set of links generated by the room overlay script can be found here: [[User:Gau_Cho/OverlayLinks]]. In addition, all the used small icons should be included in this list: [[Brighter_Shores:Orphanage#Map]]. == Styling == The .less/.css file was written by [[User:Merds]], [[User:Gau Cho]] and [[User:Microbrews]]: [[MediaWiki:Common.less/leaflet.less]]
Summary:
Please note that all contributions to Brighter Shores Wiki are considered to be released under the CC BY-NC-SA 3.0 (see
Brighter Shores:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Project page
Discussion
British English
Views
Read
Edit source
View history
More
Refresh
Search
Discord
Discord
Navigation
About us
User help
Random page
Recent changes
10% Potent Potion XP Mine
35m
ago
-
Potion IGN
Spider's Nest
1h
ago
-
Himegami
Gatherer
2h
ago
-
WilderPandora36
Coins
2h
ago
-
Drekryan
Show more...
Brighter Shores
Professions
Factions
Episodes
Premium Pass
Monsters
Quests
Community
Policies
Tools
What links here
Related changes
Special pages
Page information