A Dungeon Crawler game
A Dungeon Crawler game.
Very much a work in progress :)
yarn install
or simply yarn
from inside the project’s root to install the required dependenciesyarn run dev
to start an hot-reload server on port 7331
(localhost:7331
) yarn run build
to compile the code and create an archive ready for PRD (bundled bundle.js
file in the dist
folder) .css
files in the archive (see: html-webpack plugin, “templates”)
xxxoxxx
xooooox
ooooooo
xooooox
xxxxxxx
9abb04337c40dea54c949ae92bd28bdc2541e5a8
and implement a proper solution that does not break the open/closed principle.[ ] Provide an object of options to configure the draw-engine:
DrawEngine.initialize({
// Sets the room width
roomWidthInPixels: 850,
// Tile color
tileColor: '#fff',
// Set game loop interval (seconds)
gameLoopInterval: 5,
// Enable Debug
enableDebug: false,
// ...
});