You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
+
28
32
## Tiled Extensions
29
33
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.
30
34
@@ -54,7 +58,7 @@ When you want to add these plugins to your Tiled installation:
54
58
-**Linux**
55
59
`~/.config/tiled/extensions/`
56
60
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
58
62
59
63
(This was necessary because Tiled only watched existing scripts for
60
64
changes. No restarts are necessary when making changes to existing script
0 commit comments