A downloadable project for Windows

Node-Oriented Procedural Engine

This is a proof of concept for a Python-based procedural map generator where the map generation algorithm (how things are generated) is separated from map templates/instructions (what things are generated).

Maps are represented by graphs of nodes, which can be randomised, corresponding to required areas and their connections. The generator then converts the graph into a 2d map from the bottom up, building and connecting areas into larger areas, and then postprocesses the results and represents it with a tileset.

This way, you can generate everything at any level using the same principle, and just vary the content of the templates (dungeons, towns, continents, etc.).

Map Templates

The generator includes some examples, which can be exported as tile arrays or images. The tileset is my own and it currently includes mostly grass, caves, water and houses, but I may release a more complete version of it in the future.

Make Your Own Maps

You can create your own maps by adding new templates to the map directory.

See documentation.pdf included with the project for instructions, or look at the examples in the maps folder to get a picture of how the maps work.

Source Code & Distribution

GitHub source with detailed documentation:
https://github.com/thingsbyfilip/nope

If you're interested in using this method for generating things for your own projects, check out the source code on github and/or contact me :)

Note: since the executable is created from a Python script, it will only work on Windows, and Windows may incorrectly flag it as a virus. This is a false positive, in case of any doubts you can check the source linked above.

StatusReleased
CategoryTool
PlatformsWindows
Rating
Rated 4.0 out of 5 stars
(1 total ratings)
Authorthingsbyfilip
Made withpygame
TagsProcedural Generation, pygame, python
Code licenseApache License 2.0
LinksSource code

Download

Download
pcg_release.zip 29 MB
Download
source code (github)
External

Install instructions

To run the program, open windows_launcher.exe.

Check out documentation.pdf for how to create your own maps.

Note: Windows Defender or another anti-virus may warn you that the file is a virus/malware. This is a false positive, and often happens with Python scripts. In case of any doubts, you can check the code on github page linked in the description.

If you can't run the program because of this, you may need to add the project folder to exceptions, or install Python and get the source code from the github page. :-(

Leave a comment

Log in with itch.io to leave a comment.