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.
🎮🎮🎮 Play demo: PLAY DANGEROUS NANTHY 🎮🎮🎮
- 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 installTo run the game in development mode with live reload:
npm run devThis will start a development server at http://localhost:5000
To build the game for production:
npm run buildThe built files will be in the package/ directory.
To clean the build directory:
npm run cleanTo deploy the game to GitHub Pages:
- Build the game:
npm run build - Create a
gh-pagesbranch 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-pagesbranch) - 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/
