Self-hosted build of watabou's Medieval Fantasy City Generator (TownGeneratorOS). GPL v3.
- Haxe 100%
| Assets | ||
| Source/com/watabou | ||
| .gitignore | ||
| LICENSE | ||
| project.xml | ||
| README.md | ||
Medieval Fantasy City Generator
Self-hosted build of watabou's Medieval Fantasy City Generator, source from TownGeneratorOS.
License: GPL v3 — watabou's work. See LICENSE.
Haxe 4 Patches
Three fixes to compile with Haxe 4.2.5 + OpenFL 9.5.2 + lime 8.3.2 (original targets Haxe 3):
| File | Fix |
|---|---|
Source/com/watabou/geom/Polygon.hx:25 |
last() → this[this.length-1] — static extension not resolved on abstract this in Haxe 4 |
Source/com/watabou/towngenerator/wards/Ward.hx:95-96 |
1 else → 1.0 else, : 0 → : 0.0 — strict Float/Int ternary unification |
project.xml |
openfl 8.9.0 → 9.5.2, lime 7.3.0 → 8.3.2 |
Build
haxelib install openfl
haxelib install lime
haxelib install msignal
haxelib run openfl build html5
Output lands in Export/html5/bin/. The pages branch contains a pre-built copy ready to serve.