Jump to content

[SOLVED] Why can't I load a sprite into FEditor?


Vecisto
 Share

Recommended Posts

I've wanted to learn how to make custom animations for a while now, so I've been following Blazer's Ultimate Tutorial. I ran into a problem when testing my standing sprite. FEditor is saying my image has "too many tiles".

(Model.AnimationBuilder.addFrame:
    IllegalArgumentException
    That image uses too many tiles!)

I think it means my file is too large, but I checked and it's a 248 x 160 pixel PNG, as the tutorial recommends. It also only has 6 colors (7 if you count the background, although I admit I've been having a lot of trouble with transparent backgrounds). What did I do wrong?

Edited by Vecisto
Link to comment
Share on other sites

I've wanted to learn how to make custom animations for a while now, so I've been following Blazer's Ultimate Tutorial. I ran into a problem when testing my standing sprite. FEditor is saying my image has "too many tiles".

(Model.AnimationBuilder.addFrame:
    IllegalArgumentException
    That image uses too many tiles!)

I think it means my file is too large, but I checked and it's a 248 x 160 pixel PNG, as the tutorial recommends. It also only has 6 colors (7 if you count the background, although I admit I've been having a lot of trouble with transparent backgrounds). What did I do wrong?

Link to comment
Share on other sites

It would be helpful to post your script and frames for your animation.
There's a limit to how large a sprite can be (not sure what the exact specs are), so if you've got a big sprite you might be hitting that limit.

Link to comment
Share on other sites

My sprite is almost the same size as a thief. In fact, it's based on the thief sprite but has custom hair so that's why I'm doing a custom animation.

Actually, I think I got it. Could it be because my palette is accidentally in rows of 6 instead of rows of 8?

standing.png

test.txt

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.

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.

 Share

  • Recently Browsing   0 members

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