Like the concept of the tool. Could save some time.
Still needs some polish and Export needs to be able to automatically export to popular game engines (ie. Gamemaker2, Unity etc)
So i know this is not a new topic but im working on a game in Godot too and want to use your editor to create the tilemap. Even tho there are ways to port your maps to godot by exporting it to tiled format and than using different options ( tiled importer plugin in godot or godot tscn export plugin for tiled) none of them works in a usefull way. While the godot importer plugin just creates editor crashing bugs (if you try to open the tileset to add light occluders it just crashes the editor) and when using the tiled export plugin you get random errors too. Even tho coding a converter myself would be an option i basicly choose your tool to reduce the work not to start new projects myself. I think your tool is a great thing, but without proper exports for Godot/etc its sadly not really usefull for productive work.
Since there was no further response by the creator i coded my own basic export/transform script for Tilekit to Godot scene in PHP. You need php 7.4+ cli installed to use it. The script can be found at
https://github.com/voodooEntity/tilekit2godot
If you need specific changes please just fork it and adjust it there. I'll not provide big updates or specific feature wishes. Only posting this to help others in the same situation as me to maybe have a starting point or inspiration.
I was using App Game Kit (Studio) and it does support JSON. To import the exported tilemaps it took not very long. If your engine supports basic Sprite- and Image- handling and does understand JSON type structures it could be done in minutes or some hours, but less than half a day. Depends what your needs are.
Basic: Source code in App Game Kit for loading the map:
Type TileKit_JSON_Type
聽聽 聽map as TileKit_Map_Type
EndType
Type TileKit_Map_Type
聽聽 聽tile_w as integer
聽聽 聽tile_h as integer
聽聽 聽tile_spacing as integer
聽聽 聽image_filename as string // name of the texture-atlas
聽聽 聽animations as TileKit_Animation_Type[]
聽聽 聽tags as string[]
聽聽 聽w as integer
聽聽 聽h as integer
聽聽 聽data as integer[] // most important contains ids of the tiles from the texture-atlas
聽聽 聽objects as TileKit_Object_Type[]
EndType
Type TileKit_Object_Type
聽聽 聽聽聽 name as string
聽聽聽聽聽 id as string
聽聽聽聽聽 x as integer
聽聽聽聽聽 y as integer
聽聽聽聽聽 w as integer
聽聽聽聽聽 h as integer
聽聽聽聽聽 color as string聽聽聽聽聽聽聽聽聽聽 聽
EndType
Type TileKit_Animation_Type
聽聽 聽idx as integer
聽聽 聽rate as integer
聽聽 聽frames as integer[] // array of index-ids of the tile-texture-atlas
EndType
// ------------------------- Function to load that Type into your engine itself -----
Function xb_LoadTileKit_JSON(name$)
聽聽 聽tk_map as TileKit_JSON_Type
聽聽聽 file = OpenToRead(name$)
聽聽 聽json$ = ReadLine(file)
聽聽 聽CloseFile(file)
聽聽聽 tk_map.FromJSON(json$) 聽聽聽 聽
EndFunction tk_map