godot-pixel-painter
godot-pixel-painter copied to clipboard
Error in code, can't activate Plugin
When I try to activate the plugin a get this message:
Unable to load addon script from path: 'res://addons/painter/painter plugin.gd' There seems to be an error in the code, please check the syntax.
I took a look on the code and is on line 173, probably you need to change the !(selected_object[0] extends Sprite)
for !(selected_object[0] is Sprite)
I'm trying to fix it, but I didn't look all the code.
Line 240 too:
var img = Image(ns.x, ns.y, false, Image.FORMAT_RGBA)
Image isn't declared. I dont know if it is outdated.
you can fix this using var img = Image.create(ns.x, ns.y, false, Image.FORMAT_RGBA)
however the plugin remains broken because it was made for an older version of Godot. You would need a lot of refactoring to get it compatible with 3.2.3