Labs 5.1 – Dungeon
Procedural Content Generation for Computer Games
Vojtěch Černý
cerny@gamedev.cuni.cz
Prerequisites
The Task
This homework will have two parts:
This is part 1.
As always, aim for at least GameJAM quality
Codebase
Start with the roguelike repo
There are two Gradle tasks (run by ./gradlew <task>)
Try running them (first run will fail!).
Variants
You should pick one of the following options:
1) write your own (non-trivial) generator
2) tweak Wave Function Collapse
Java or Kotlin:
Variant 1 – generate own dungeon
Forbidden methods
Using noise
Using cellular automata
Acceptable methods
Approaches from lecture 5:
Graph / Shape grammars (may be hard)
…
or anything creative, write me if you have an idea, if it’s non-trivial I will accept it
Variant 1 - How to
Variant 1 - Criteria
Variant 2 – tweak Wave Function Collapse
Variant 2 – tweak Wave Function Collapse (WFC)
world/worlds/WaveFunctionCollapsedWorld1, using
world/builders/wavefunctioncollapse/WFCAreaBuilder
Variant 2 - How to
Variant 2 - Criteria
Bonus point
Get your own tileset
Howto:
Bonus points
Submission details
Questions / Problems
Q & A
Vojtěch Černý
cerny@gamedev.cuni.cz