We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
there is a bug in line 213 of generate AssetClass:
for (var a in json['frames']) { frameFull = (json['frames'][a]['filename']); frame = frameFull.substring(0, frameFull.lastIndexOf('.')); shell.ShellString('\n ' + toPascalCase(frame) + ' = <any>\'' + frameFull + '\',').toEnd(assetsClassFile); }
assets in the atlas do not need to have a .png (or any extension) in the name. a simple fix is to add:
if (frame === "") { frame = frameFull; }
sample asset file:
{ "frames": [{ "filename": "Foo", "frame": { "x": 1627, "y": 1198, "w": 32, "h": 34 } }] }
The text was updated successfully, but these errors were encountered:
Thanks! I forgot about that. I'll get that fixed.
Sorry, something went wrong.
1138c8a
No branches or pull requests
Hi,
there is a bug in line 213 of generate AssetClass:
assets in the atlas do not need to have a .png (or any extension) in the name. a simple fix is to add:
sample asset file:
The text was updated successfully, but these errors were encountered: