Jump to content

spritesheet-js error


Tymski
 Share

Recommended Posts

I installed https://www.npmjs.com/package/spritesheet-js

to create some spritesheets and I tried to make a sheet of tiles like so: I get this output: how to fix this?

C:\Projects\Logic\img>spritesheet-js tile*.png
  r r o r :   0 x 8 0 0 7 0 0 5 7


C:\Users\Tymon\AppData\Roaming\npm\node_modules\spritesheet-js\index.js:129
    if (err) throw err;
             ^
1

C:\Projects\Logic\img>

 

Link to comment
Share on other sites

I use spritesheet (not for a while though) but never had this problem.

Did you try to do just one of your images? i.e. `spritesheet-js tile1.png`, just to see if it is having an issue with the glob (it shouldn't be though).

Did you open an issue on the spritesheet-js repo? Much more likely to get an answer there (or search through their issues, someone else may have had similar).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...