Always Be Refactoring

Release 0.4.0

Okay, no, the post title is terrible advice, don't always be refactoring. In the previous blog post, I had mentioned that I wanted to work on Multi-tile Painting for the 0.4.0 release. It turns out I'm a terrible liar.

What had happened? I found out about RxPy and wanted to use it. The existing code base was getting difficult to maintain and add features to, stemming from my unfamiliarity with Blender's add on system when I started out on Sprytile. When I found out that a reactive library was available for Python, I figured it's a good excuse for a refactor.

If you're unfamiliar with the term, a refactor is changing the underlying parts of your code to make it better. RxPy helped with this by giving me a good way to hook into and program with events. Taking this time to do a refactor would hopefully mean features are easier to implement down the line.

Changelog

Since the refactor took some time, there are not a lot of new features in this release.

  • Under the hood code refactor
  • Tile padding setting, to help with edge bleed in certain engines (thanks to Ample for this suggestion)
  • Grid size minimum is now 1

Files

Sprytile Blender Addon (235 kB)
Version 0.4.0 13 days ago

Get Sprytile

Download NowName your own price

Leave a comment

Log in with your itch.io account to leave a comment.