Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Has anyone tried this on version 2.81 of blender? I get a few errors every time  I try to  load a tileset.

Traceback (most recent call last):

  File "C:\Users\Rustocrat\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\Sprytile-master\sprytile_utils.py", line 878, in execute
    UTIL_OP_SprytileLoadTileset.load_tileset_file(context, self.filepath)
  File "C:\Users\Rustocrat\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\Sprytile-master\sprytile_utils.py", line 896, in load_tileset_file
    bpy.ops.sprytile.texture_setup('INVOKE_DEFAULT')
  File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\modules\bpy\ops.py", line 199, in __call__
    ret = op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: Error: Traceback (most recent call last):
  File "C:\Users\Rustocrat\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\Sprytile-master\sprytile_utils.py", line 932, in invoke
    self.setup_tex(context)
  File "C:\Users\Rustocrat\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\Sprytile-master\sprytile_utils.py", line 973, in setup_tex
    target_img.use_alpha = True
AttributeError: 'Image' object has no attribute 'use_alpha'

location: C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\modules\bpy\ops.py:199

location: <unknown location>:-1

(1 edit)

The 2.8 port is compatible with the latest blender version (2.81a).

Judging from the error log, it looks like you are using a different version from the latest beta. Uninstall any old sprytile from the plugins menu (make also sure there's no sprytile folder left in C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons) and try installing the latest zip from this page: https://github.com/ologon/Sprytile/releases ( currently sprytile_2.8_beta8.zip)

(+1)

Thank you so much! Looks like everything is working fine now.