- Title: Auto Tile Your Walls
- Description: Example,script and templates for TDS/RPG auto tiling walls
- GM Version: GM7Pro
- Registered: No (don´t think so)
- File Type: zip file with gmk, gml, png and photoshop psd files
- File Size: 0.5MB
- File Link:

Additional Info
This is an example with template images and a script for anyone who is doing a TDS or RPG game and wants to use one wall object, but have nice corners and connecting graphics. The png files inluded are a large template file with each of the necessary tiles numbered for ease of use and an example of a finished wall tile. There is a bonus for photoshop users as I have included a template with caps, rulers and effects for you to use as a base.
The script itself is very easy to use and should not be modified! Just load it into the scripts section of your game and then copy and paste the code from the create event of the obj_Wall in my example file into the create event of your object wall. Then load up a tile set that you have created and change the names in your wall object create event to the tile set. If you want to use sprites instead of tiles then I have included code for that too...
To make your own tiles just check out the template file and you will see that each block that is needed has a number and a black edge. These edges correspond to the outside edges of the wall and the numbers correspond to the position within the tile set. It´s a bit of work but very rewarding when finished, especially when you use a seamless image as a base! If you need a size that is not 32x32px then just adapt the code (explained in the comments) and scale up/down the template file... And please don´t rip the included graphics...
Here is a screenshot of a room tiled with Auto Tile...

I used this script in my Gauntlet game with 64x64px tiles so if you want to see how it works in a game click the link in my sig...
As always, no credit is necessary (but apreciated!) and if you download this please comment!!!!
NOTE: This has been modified and should now present no graphic problems due to the size of the tiles...
Edited by Nocturne, 08 April 2011 - 08:18 AM.











