autotile icon indicating copy to clipboard operation
autotile copied to clipboard

Unable to load addon in Godot 3.2.1.

Open Tabbath opened this issue 6 years ago • 4 comments

Hi, cant' run this addon in Godot 3.2.1. Really missing addon like this. Lower you can read the error in CZ/EN.

"Nelze načíst skript rozšíření z cesty: 'res://addons/autotile/plugin.gd'. Zdá se, že se v kódu nachází chyba. Prosím, zkontrolujte syntax."

Unable to load addon script from path: 'res://addons/autotile/plugin.gd'. There seems to be an error in the code, please check the syntax.

Tabbath avatar Apr 04 '20 14:04 Tabbath

@Tabbath looks like these scripts were designed for Godot 2.1 and haven't been updated for 3.1 yet.

You can fix the error you mention by changing any line in the plugin.gd script where it says "if (something} extends AutoTileLayer" to "if (something) is AutoTileLayer".

You can then enable the plugin. However, you'll then have a bunch of errors in the layer.gd script, basically because it's using a bunch of functions that existed in Godot 2.1 and don't seem to exist in 3.1. I only started developing in Godot a few days ago so I don't know if there's any way to have backwards compatibility; otherwise we'll need to re-write these scripts to do the same thing using Godot 3.1 functionality.

Nephtis avatar Apr 13 '20 16:04 Nephtis

Any word on Godot 3.1 support?

JouBqa avatar Mar 26 '21 22:03 JouBqa

Well, since Godot 3.x has a more powerful built in auto-tile support I hadn't really thought of porting it over, although if there really is a need for it I could take a crack at it.

https://docs.godotengine.org/en/stable/tutorials/2d/using_tilemaps.html#autotiles

leezh avatar May 05 '21 22:05 leezh

No need but you should mention its only for g3

On Thu, May 6, 2021, 01:32 Lee Zher Huei @.***> wrote:

Well, since Godot 3.x has a more powerful built in auto-tile support I hadn't really thought of porting it over, although if there really is a need for it I could take a crack at it.

https://docs.godotengine.org/en/stable/tutorials/2d/using_tilemaps.html#autotiles

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/leezh/autotile/issues/4#issuecomment-833092260, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS2LJJR7JYLXDNTZPYRLW3DTMHBP5ANCNFSM4L6L2SRQ .

JouBqa avatar May 06 '21 03:05 JouBqa