Gdevelop Maze Extension demo
A downloadable game
Demo for Maze generator extension in Gdevelop.
Zip file contains the source code.
Provides functions for generating mazes.
Use GenerateMaze action to set up a maze with a particular size and give it a name (MazeID). The maze is stored in scene variables, to be used with other functions by specifying the MazeID.
There are three other actions that create sprite objects you can use to place the maze into the scene:
CreateMazeFloorObjects : create tiles for each cell in the maze
CreateMazeWallObjects: create objects between each cell. Useful for walls
CreateMazeCornerObjects: create objects on the point between 4 cell corners. Can be useful to improve maze visuals
There are plenty of other helper functions for getting/setting maze properites or get helpful information. In particular:
CheckMazeWall: a condition to use in event sheet to test which walls exist for a cell
FindMazePath: creates a scene variable array containing a sequence of directions to go from one cell to another cell
Finally, there is a MazeObject behavior that can be attached to wall or floor objects to provide some additional helper conditions, expressions, and actions. See the example gdevelop file in the help URL for examples of its use.
Status | In development |
Author | Luxon5 |
Tags | maze |
Download
Install instructions
Source requires Gdevelop to run:
Comments
Log in with itch.io to leave a comment.
it look good
Do you speak English in real life?
me? is what matters?
do you speak anything other than english in real life?