- Export new map as image
- Turn off layers
- "Foreground objects"
- "Not for background image"
- Turn other layers on
- Zoom to expected level (400%)
- File > Export as image > Save to
img/cv-infinite.png
- Turn off layers
- Export foreground objects as image
- Turn off all the layers but "Foreground objects"
- Zoom to expected level (400%)
- File > Export as image > Save to
img/foregroundObjects.png
- Export data
- File > Export as > save as JSON
- Find "Collisions marker" object and take
data
array- Replace data in
data/collisions.js
- Replace data in
- Find "Characters" object and take
data
array- Replace data in
data/characters.js
- Replace data in
- Find "Special zone marker" object and take
data
array- Replace data in
data/battleZones.js
- Replace data in
- install Terser:
npm install terser
- run
terser-minifier.js
in Idea - result is saved to
cv.min.js
How to deploy with Github Pages
- Checkout
master
branch - Make changes to source code
- Minify JS - see above
- Open
index.html
in a browser to check changes - Commit and push changes to
master
- Checkout
release
branch - Merge
master
branch intorelease
branch. Accept "yours" changes on conflicts where files are deleted inrelease
branch and modified inmaster
branch. - Push
release
branch - GitHub Actions will trigger the build and deploy it. - Check changes on the site: https://cv.pfilaretov42.dev
- Top-down pokemon-like game on map!
- github
- Develop game from scratch - video
- Tiled - map editor
- Top-down game assets
- Another pokemon-like game
- Royal madness - move man with mouse
- Shooting ninja - cool background
- Make fish swim - mouse controls, music