A web clone of the classic DOS game Dangerous Dave, with a twist!
Note: This version has been modernized to work with Node.js v22+ and no longer requires Bower.
Link to live demo: PLAY DANGEROUS NANTHY
Note: The original Heroku demo at https://dangerous-nanthy.herokuapp.com/package/ may no longer be available.
- Game engine - Phaser 2 (v2.6.2) - Using original version for compatibility
- Build tools - Node.js v22+, Gulp 5, Babel 7
- Languages - Modern ES6+ JavaScript
- Dev server - BrowserSync for live reload
- Tiled, for building the tilemaps
- paint.net, GIMP, or any open source image editor of your choice, for building all the assets
- Node.js v16 or higher (tested with Node.js v22)
- npm
First, install all the dependencies:
npm install
To run the game in development mode with live reload:
npm run dev
This will start a development server at http://localhost:5000
To build the game for production:
npm run build
The built files will be in the package/
directory.
To clean the build directory:
npm run clean
To deploy the game to GitHub Pages:
- Build the game:
npm run build
- Create a
gh-pages
branch and push thepackage/
directory contents:git checkout -b gh-pages cp -r package/* . git add . git commit -m "Deploy to GitHub Pages" git push origin gh-pages
- Enable GitHub Pages in your repository settings (use
gh-pages
branch) - Access your game at
https://avdaredevil.github.io/DangerousNanthy/
Enjoy 😃
Credits:
- Modified spritesheet from agar3s's marioPhaser project
- Sound effect assets from soundbible.com
- Soundtrack from http://ericskiff.com/