New Tutorial: Procedural Map Generation with the STI Library

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
peterrust
Prole
Posts: 42
Joined: Thu Dec 29, 2016 8:49 pm
Location: Bellingham, WA, USA
Contact:

New Tutorial: Procedural Map Generation with the STI Library

Post by peterrust »

The popular Simple Tiled Implementation library (https://github.com/karai17/Simple-Tiled-Implementation) recently added support for passing in a map table directly (as of v0.16.0.4).

This means that STI can be more easily used with procedural map generation (for instance for roguelikes or sandbox games). To illustrate this and to document the tiled map table structure, I wrote a tutorial/example. This is my first contribution to the LOVE community (besides helping people on the forums), so I would love any feedback: https://github.com/prust/sti-pg-example.
User avatar
Jack5500
Party member
Posts: 148
Joined: Wed Dec 07, 2011 8:38 pm
Location: Hamburg, Germany

Re: New Tutorial: Procedural Map Generation with the STI Library

Post by Jack5500 »

Great read, but it's more a programmitic map generation tutorial to me. Procedural would have implied some kind of real generation to me, like if you incorporated a noise function or WaveCollapse (https://github.com/mxgmn/WaveFunctionCollapse). But either way, a good introduction to STI!
User avatar
peterrust
Prole
Posts: 42
Joined: Thu Dec 29, 2016 8:49 pm
Location: Bellingham, WA, USA
Contact:

Re: New Tutorial: Procedural Map Generation with the STI Library

Post by peterrust »

Jack5500 wrote:it's more a programmatic map generation tutorial
Yes, great point. I knew it didn't get into true procedural stuff, but didn't know what to call it. I'll change it to "programmatic" and mention that it's a starting point for people wanting to connect STI with procedural algorithms.

At some point I'd like to connect this with https://github.com/SiENcE/astray (room, dungeon, maze generation library), but that'll be in a different repo. Thanks for the link to WFC, I hadn't seen that before, it looks fascinating. I'll definitely be looking closer in the coming weeks.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests