- Title: Easy, Fast, Advanced Level Editor (2D)
- Description: Adding a level editor is now made easy
- GM Version: Game Maker 7
- Registered: Yes, needs Pro
- File Type: .Zip (contains 2 files, an example and the scripts)
- File Size: Approx 129KB
- File Link: Download (Host-a-net)
- Check out my latest project: GameDev Studio
This has taken me some time to make, and all the scripts have a description of what they do at the top. If you have any questions or comments please post them. There are only a few scripts that are needed, and lots of other ones that can just help. Includes...
--ALL BUGS HAVE BEEN FIXED (AND CHECKED)--
The level editor contains the main following scripts
Grid:
-Changing color
-Changing Space in between (X and Y)
-Set grid visible/invisible
-Align to gird
Objects
-Place and Remove objects with the mouse (no limit)
-Clear all objects from the level
-Set a limit to the amount of objects allowed (1 player etc) AND change how it deals with it if there are too many
-Change an objects direction
-Allow objects to be overlapped/not overlapped
-Make a map only savable IF there is a certain amount of objects
-Randomly place X amount of objects in the room
-Border the room with objects
-Variable support! Objects can have variables such as hp, and they can be changed in the editor (they are saved too)
-Add code to objects (program it in the editor!) - gets saved and actually works! DOES NOT USE EXECUTE STRING, it uses object_event_add()
Tiles
-Place and remove tiles
-Depth Support
-Clear the room of tiles
-Set tile overlap
-Set a tiles Alpha
-Clear all tiles on a depth layer
-Change the background (make visible or not)
-Set the background speed (X and Y)
Saving and Loading
-Save the map you have made
-Load the map you have made into the editor
-Load the map you have made into the game
Screenshot:
<--- Click to EnlargeHope some people learn from this (that's what it is here for!) - Enjoy
~~Brett14;
PS - I have been requested to just let users know that this uses both execute_file(), and object_event_add(). There is no need to worry though, because execute_file() is only called once to load the main map data, and from there on it uses object_event_add(), which is a much faster function.
Edited by brett14, 14 March 2012 - 03:58 AM.











