Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for autotile (RPG Maker format) #1022
Tiled is a great tool, especially for those who use Unity or game engines other than RPG maker. With the release of the newest humble bundle I foresee many people like myself wanting to use their new assets with Tiled (and eventually game engines other than RPG maker). It appears that their
I think it is within the scope of Tiled to support importing this format and then automatically slicing it up. While the terrain tool works well for some sprites, it doesn't seem to work with this format. There is an existing tool Remex but it only supports the 64x96 pixel image at a time. It would be better to automatically detect the size and split it accordingly (It appears 512x384 is standard)
It would definitely be interesting to support this type of terrain, though I have not seen it used outside of RPG Maker so I kind of disagree with the format being "quite common". Outside of RPG Maker, the format used by Tiled is actually quite common. In any case the question comes up a lot, I guess mainly because of the vast library of tilesets available alongside (or made for use with) RPG Maker.
I'm not sure what's the best way to support it. There are some options:
In any case, if you want to help me get around to a feature like this, please do consider supporting me on Patreon. The amount of time I have for Tiled directly depends on how many hours I can afford to drop from my job.
Thanks for the quick response,
Forgive me in being a bit uneducated in the commonality of this format. I think a lot of people like myself have bought the humble bundle and now have a ton of assets in a format for an engine they aren't interested in using.
I think this is the best option. When creating a new tileset the dropdown for type could be
I thank you for your time you have invested in this project, it is very useful
I bought the Game Maker Humble Bundle myself and feel compelled to point out that much (most?) of the material in it has a Copyright statement such as:
If I read that correctly that means we cannot legally use these tilesets with tools like "tiled" anyhow.
This is now the second Humble Bundle with RPG Maker in it that I've bought and I've seen many copyright licenses similar to this one.
I believe they addressed that here https://support.humblebundle.com/hc/en-us/articles/206156508 . I think limiting assets to a specific engine goes against what humble bundle is about anyhow, I believe all of the assets included in the humble bundle were as you said painted to be RPG maker compatible
Just wanted to add a link to some docs on how autotiles work in RMVXA.
I also think this is a good idea, and will greatly expand on what @fmoo stated. Also I will say that the following information can be used by anyone wishing to import tiles into this map editor.
Generic Terrain autotile
These are the easiest to work with, and cover most of the auto-tiles. For RPGMaker VX Ace optimized tilesets these are a 16 pixel by 16 pixel grid. I know my example is smaller than this. The Blue area represents the edge case with other tiles, and the white area is the terrain type for the Auto-Tile.
Animated Terrain autotile
These are terrain auto-Tiles from above where you have 3 frames of animation side by side.
Generic Wall Auto-Tile
This tile type is a set of two 32px by 32px animated tiles side by side where each row is a frame of animation. This means that this tile takes up the same amount of space on a sprite sheet as a generic terrain auto-tile. This can form an animated wall auto-tile when you have 3 or more that can be linked together. In general this is the type of tile where the users need to configure on a set-by-set basis because this can involve 3 types of terrain ( Waterfall, Water, and land type )
RPG Maker Tile Layers
Tile Layer A1
Tile Layer A1 - Area A - Water/Ocean
This is a Animated Terrain Auto-tile. In general it is used for water.
Tile Layer A1 - Area B - Deep Water/Ocean
This is a Animated Terrain Auto-tile. In general it is used for deeper water, and sometimes is placed within Area A.
Tile Layer A1 - Area C - More animated Water Tiles
More Animated Terrain Auto-Tiles. To my knowledge these have been used for Lava, Ice, and even more water animations.
Tile Layer A1 - Area D - Water Tile decoration
These are generally used for decoration of water tiles in an auto-terrain format.
Tile Layer A1 - Area E - More Water Decoration Tiles
These could be terrain auto-tiles or waterfall tiles. Either way this section requires a lot of user input, but in general these are always two 32px by 32px tiles side by side, and sometimes 3 of these can be combined to form a wall auto-tile.
Tile Layer A2
This is a straight forward import, this is a grid of 8 by 4 terrain auto-tiles.
Tile Layer A3 - Exterior wall/Ceiling
This is used for exterior Ceiling/walls, and is a 8 by 4 grid of wall auto-tiles. I believe the easiest solution for now is to define each wall auto-tile as a terrain.
Tile Layer A4 - Wall/Ceiling
This is is simply a row of 8 terrain auto-tiles used for Ceilings followed by a row of 8 wall auto-tiles. In general this forms a total of 48 tiles total.
Tile Layer A5 - Generic Tiles
These are 32px by 32px tiles.
Tile Layer B to E - Generic Tiles
These are Objects of varying size.
I have not found any simple way to create animated terrains yet, and this is a required feature for this bug report.
I have found that occasionally the terrain auto-tiles have the center fill-tile found in the TileA5 file. To my knowledge there is no easy way to resolve this issue without editing the input files directly.
There is no easy way to fill using defined terrains. Instead you need to fill using tiles in the tile sheet directly.
There is many solutions for this, but the easiest would be to use import wizard. The Wizard will need to have the user help guide the import since there is going to be a large set of tiles imported in one go. Most of the work would be terrain definition/names, and the occasional cross-file terrain fix.