Skip to content

Commit

Permalink
Prep for v0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Sep 25, 2020
1 parent ba42583 commit 46750e9
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
9 changes: 9 additions & 0 deletions src/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
0.0.6
-----

* Font tool (thanks @Daft-Freak)
* Flash command with multi-target function (thanks @Daft-Freak)
* Bugfixes to palette handling (thanks @Daft-Freak)
* Bugfixes to package recognition (seemed to affect Python 3.8 on Windows)
* Friendly (ish) error message when a .tmx tilemap with 0-index tiles is used (tmx is 1-indexed for valid tiles)

0.0.5
-----

Expand Down
9 changes: 9 additions & 0 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ Supported formats:

# Changelog

0.0.6
-----

* Font tool (thanks @Daft-Freak)
* Flash command with multi-target function (thanks @Daft-Freak)
* Bugfixes to palette handling (thanks @Daft-Freak)
* Bugfixes to package recognition (seemed to affect Python 3.8 on Windows)
* Friendly (ish) error message when a .tmx tilemap with 0-index tiles is used (tmx is 1-indexed for valid tiles)

0.0.5
-----

Expand Down
2 changes: 1 addition & 1 deletion src/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
[metadata]
name = 32blit
version = 0.0.5
version = 0.0.6
author = Philip Howard
author_email = phil@pimoroni.com
description = 32Blit asset preparation and upload tools
Expand Down
2 changes: 1 addition & 1 deletion src/ttblit/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

__version__ = '0.0.5'
__version__ = '0.0.6'

import argparse
import pathlib
Expand Down
2 changes: 1 addition & 1 deletion src/ttblit/asset/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def tiled_to_binary(self, input_data):
base=10,
offset=-1)) # Tiled indexes from 1 rather than 0
except ValueError as e:
raise RuntimeError("Failed to convert .tmx, does it contain blank tiles? These export as -1 and blow everyting up")
raise RuntimeError("Failed to convert .tmx, does it contain blank (0) tiles? Tiled is 1-indexed, so these get converted to -1 and blow everyting up")
return b''.join(data)

def to_binary(self, input_data):
Expand Down

0 comments on commit 46750e9

Please sign in to comment.