Skip to content

Commit fc10605

Browse files
authoredApr 15, 2020
Update README.md
1 parent e8cf111 commit fc10605

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed
 

‎README.md

+16-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
## Known Issue!
2-
3-
It seems that using the dev build of Tiled the API provides imageWidth and imageHeigh for the tileset,
4-
but in version 1.3.3 that's not the case. So if you have a problem loading the tileset in Godot
5-
you'll need to manually add the width and height of the image in the ```0/region = Rect2( 0, 0, undefined, undefined )```
6-
instead the undefined values. Probably this will be fixed in next minor release of Tiled 1.4.
7-
In the meantime though, they’re already available in the development snapshots, so I’d suggest you should use the latest snapshot.
8-
https://thorbjorn.itch.io/tiled - the ones with the (snapshot);
9-
10-
11-
121
# Tiled To Godot Export
132

143
Tiled plugins for exporting Tilemaps and Tilesets in Godot 3.2 format
@@ -17,6 +6,8 @@ Tiled plugins for exporting Tilemaps and Tilesets in Godot 3.2 format
176
- export_to_godot_tileset.js
187
- utils.js
198

9+
The plugin requires Tiled version 1.3.4 or newer
10+
2011
More information about the Tilemap structure of Godot can be found here:
2112

2213
* [Using Tilemaps](https://docs.godotengine.org/en/stable/tutorials/2d/using_tilemaps.html)
@@ -25,6 +16,19 @@ Tiled plugins for exporting Tilemaps and Tilesets in Godot 3.2 format
2516
And also I made a simple legend explaining the tile encoding in a tilemap.
2617
* [Godot Tilemap Encoding & Limits](https://docs.google.com/spreadsheets/d/1YbGAVgySB3jr5oKeHHEPHbqmRkrVUs_YN_ftAEaOfBA/)
2718

19+
## Known Issue!
20+
21+
As of intermidied release the problem is fixed with Tiled 1.3.4
22+
Scripting: Added methods to get tileset's image size (backported from 1.4, #2733)
23+
So it's already in the stable release just go and update to 1.3.4 or newer.
24+
25+
It seems that using the dev build of Tiled the API provides imageWidth and imageHeigh for the tileset,
26+
but in version 1.3.3 that's not the case. So if you have a problem loading the tileset in Godot
27+
you'll need to manually add the width and height of the image in the ```0/region = Rect2( 0, 0, undefined, undefined )```
28+
instead the undefined values. Probably this will be fixed in next minor release of Tiled 1.4.
29+
In the meantime though, they’re already available in the development snapshots, so I’d suggest you should use the latest snapshot.
30+
https://thorbjorn.itch.io/tiled - the ones with the (snapshot);
31+
2832
## Tiled Extensions
2933
Tiled can be extended with the use of JavaScript. Scripts can be used to implement custom map formats, custom actions and new tools. Scripts can also automate actions based on signals.
3034

@@ -54,7 +58,7 @@ When you want to add these plugins to your Tiled installation:
5458
- **Linux**
5559
`~/.config/tiled/extensions/`
5660

57-
* When using a version older than Tiled 1.3.3, restart Tiled.
61+
* If using a version older than Tiled 1.3.3, restart Tiled, but better update your Tiled installation
5862

5963
(This was necessary because Tiled only watched existing scripts for
6064
changes. No restarts are necessary when making changes to existing script

0 commit comments

Comments
 (0)
Please sign in to comment.