GitXplorerGitXplorer
a

dungeon-generator

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
bd5b020574fcf35b0bda90a1159b6bb6b01815be

Added license

aagg23 committed 4 years ago
Unverified
70190a13fe8ec283632424774130818810a3b3e4

Added proper README.md

aagg23 committed 4 years ago
Unverified
6543624431d9e122612322bb67a9fca1c992b494

Added ability to generate additional maps by pressing start

aagg23 committed 4 years ago
Unverified
85fedfcd80ed9fd9af4aea633e75068d4d4cda80

Very rough generation and rendering

aagg23 committed 4 years ago
Unverified
1e7c9d33b9af68e832eb9a2067fea3d802661413

Began implementing Millfork generator

aagg23 committed 4 years ago
Unverified
45b86c8a9b4c0905a4efbf6c443b777299b14988

Added numbers to rooms and door display

aagg23 committed 4 years ago

README

The README file for this repository.

dungeon-generator - A simple room generator example for JS and NES (Millfork)

dungeon-generator is a simple algorithm for proceedurally generating dungeon room layouts with the goal of running on limited hardware, such as the NES's 6502. Included is a JS playground to tweak the algorithm in a more accessible manner, and the Millfork code to run the generator + visualizer on original NES hardware.

JS Generator NES (Millfork) Generator

The amazing Millfork language can be found here. I would recommend running the latest version, but this project was last built and working on 0.3.19beta.

Compilation Instructions

JS

cd dungeon-generator
npm i
npm start

Millfork

Download Millfork

cd dungeon-generator
java -jar [path to millfork.jar] ./millfork/main.mfk -i ./millfork/lib -o build/generator.nes -g -s -fsource-in-asm -t nes_small -fillegals -O4

Alternatively, you can use the provided VSCode build task