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.

Download

Download
Maze Example.7z 211 kB

Install instructions

Source requires Gdevelop to run:

https://gdevelop-app.com/

Comments

Log in with itch.io to leave a comment.

(+1)

it look good

(-1)

Do you speak English in real life?

(1 edit)

me? is what matters?

do you speak anything other than english in real life?