https://www.dropbox.com/s/wzac7tnf3mp8nan/theouaegis_tiles.libThis is a .LIB file you can drop into your lib directory in Game Maker. It is compatible with GM8 and probably GM81. It adds most of the normal tile functions, a rudimentary tile map, and a nice update to Shift Tile Layer with optional tile wrapping. It's a bit cumbersome to use, but if you're a D&D programmer, this will help you bust out of the object-oriented programming (I know that term means something entirely different in other programming languages, but whatever).
Read the important info:
//// Check Tile ////
*The Check Tile action creates a local variable "tile" in the calling object. This variable is used for most Attributes and Modify actions in this library. If you receive "Unknwon variable tile" errors, it is because you are missing this action.
//// Create Tile ////
*Due to limitations in Library Maker, the Create Tile action uses background_index[1] for the tileset and the default layer 1000000. To compensate for this, the variable "tile" is automatically set to the new tile created, so you can immediately use other functions to change these values as needed.
//// Tile Maps ////
*To write a tile map based simply on if a tile exists or not (such as using depth to define solids), set the criterion to "none".
*When running in debug mode, Create Tile Map will write the map to a binary file called "testmap.dat" for debugging purposes. You need a hex editor to read it. Note that FF in the file translates to -1 in Game Maker.
*Since the tile map uses a ds_list, there is technically no limit to the size of your tilesets. Writing the map to a binary file however will not be saved properly if values exceed the range of 0 to 254 (FF is reserved for -1).