Luyren Pathfind and Procedural Generation
This is a resource pack made for Stencyl that adds two pathfinding and procedural generation systems to your games. It is divided in two packs that can be imported separately:
- Luyren Pathfind Pack: contains behaviors to add pathfinding for both platformer and top-down games. Contains the following behaviors:
- Pathfinder Nodes: scene behavior that generates pathfinding nodes based on the scene layout.
- Pathfinder: actor behavior that reads the pathfinding nodes to determine a path to a given point.
- Modify Pathfinding Nodes: lets actors modify the pathfinding nodes, from semisolid platforms to stand on to hazards to avoid.
- Pathfinder Nodes: scene behavior that generates pathfinding nodes based on the scene layout.
- Luyren Procedural Generation Pack: contains behaviors to add procedural generation elements, such as autotiles, levels and enemy waves. Contains the following behaviors:
- Auto Tile: adds autotiles to the scene, based on the existing tile layout.
- Level Generator: generates a scene layout based on pre-built level chunks. You can customize several rulesets to determine how the chunks are organized, and it comes with a build mode to create chunks inside your game.
- Seeded Random Number Generator: generates random numbers from a seed, allowing you to control random elements in your games.
- Spawn Waves: create enemy waves in your game. You have full control on how the waves progress, and the behavior can generate new waves based on the configured wave elements.
- Store Actor as Tile: lets an actor be considered a tile for the purposes of autotiling the scene.
If you want to see some of the possibilities of this resource pack, you can play the HTML5 version of the sample game on this page.
This pack comes with a sample game you can import into Stencyl, in which you can see how each actor is configured, as well as a comprehensive documentation file.
This is compatible with all my other resource packs.
Happy Stencyling!
Download
Install instructions
To import this resource pack into your games, do the following:
- Back-up your game: go to File > Export Game... and save the generated .stencyl file.
- Import the resource packs: go to File > Import Resource and select the “Luyren Pathfind Pack.png” or the “Luyren Procedural Generation Pack.png” files you extracted along with this pdf, depending on which features you want to import.
- Import the sample game: to import the included sample games, go to Stencyl's dashboard, go to File > Import Game and select the “Luyren Pathfind and Procedural Generation.stencyl” file you extracted.
And that's it. Attach the behaviors to your actors/scene, configure them and have fun!
Development log
- Optimization and new area pathfindAug 17, 2025




Leave a comment
Log in with itch.io to leave a comment.