Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/json format txtpkr #218

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added image key for filename in json meta for TexturePacker-like format.
  • Loading branch information
NTBlok committed Jun 17, 2016
commit 67fe44f427b17a09296c233f621936123e84e483
2 changes: 1 addition & 1 deletion glue/formats/jsonformat.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_context(self, *args, **kwargs):
'sprite_path': context['sprite_path'],
'sprite_filename': context['sprite_filename'],
'width': context['width'],
'height': context['height']
'height': context['height'],
'image': context['sprite_filename']})

if self.sprite.config['json_format'] == 'array':
Expand Down