0
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.
PC
Dec 29 - 2021
۸ دی ۱۴۰۰
Luxon5
+