Download:
external.zip (11.7KB)
I first create a room then set the size to 16x16 (just to keep it small). In the creation code of the room:
That's all I need to do in the .gmk file, now onto the externals.
The init.txt file contains gml code that is executed.
I have a small sprite with 7 tiles inside
I could have up to 224 tiles inside if I'd like to, as I'm using a sprite based font to tile the room. I use ord('A') as the first character so my sprite based font goes from A-G.
As you can see inside this file, I create a room and execute the code inside of the .txt file
I also set the caption and execute an object file.
Inside the objRoom0.txt file, you can see a long string of A's, etc. with #, my 256x224 pixel room is made up of 16x14 tiles, each represented by a tile in the sprite based font.
When laid out, these lines look like this
And when ran, the .gmk file looks like this.
You can edit this file to use as many layers as you'd like, just draw them in order in the object. You can also use this as a method to create spawn points for objects.