A tile-based 4th edition D&D prototype built with Phaser. Features include accurate cover and line-of-site calculation, power selection, and a custom physics engine for tile movement.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
js
.gitattributes
.gitignore
README.md
floor.json
floor.tmx
index.html
map.json
map.tmx

README.md

BaseBlitz

a tile based 4e game

Note: this game uses graphics that may be licensed property of another company. Sorry.

Maps are loaded from json files generated by the Tiled map editor. Layer names are important. Anything on the layer named 'blockedLayer' will act as solid in the collider physics. Objects should be placed on 'objectsLayer' and are loaded dynamically. Players can either be loaded from the map or created in Game.js. In Tiled, give objects a custom propery with a name of 'type' and its type value the object name to search for. The 'findObjectsByType' function will search for that name and create an array of all matching objects.