The map can viewed at https://sacredmap.netlify.app/
Map dimensions are 50944x25600px (199x100 tiles). Each tile has a size of 256x256px.
Coefficients for the function to translate map coords to game coords were calculated assuming 4 corners of the map:
25608,0 = 0,0
0,12672 = 0,6400
51216,12672 = 6400,0
25608,25344 = 6400,6400
Name | Default value | Description |
---|---|---|
REACT_APP_SHOULD_DRAW_TILE_EDGES |
false |
Draws borders around rendered tiles, resulting in grid-like view. |
REACT_APP_SHOULD_DRAW_COORDS |
false |
Draws coords near the cursor. |
REACT_APP_SHOULD_USE_GAME_COORDS |
false |
When true , displayed coords near the cursor are in-game coords. When false , displayed coords are map coords. This only has an effect when REACT_APP_SHOULD_DRAW_COORDS is set to true . |
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.