I'm using custom sprites that are slightly bigger than the usual 48x48 pixels, which 48x68 pixels. I read somewhere that with sprites that are bigger than the usual ones you have to add "$" in front of the name. However, when I did that, it had a yellow triangle with an "!" and it disappears after I save it. What am I doing wrong?
Edit: I'm aware that all the sprites are the same right now. This was just a test to see if it would work.
Do you have it saved as a png file? That’s all I can think that might be wrong.
Adding $ in front of the file name has nothing to do with the size of the sprite, that is to tell the engine that the sprite sheet is only for one character and not the usual 8 character size. As you are using what looks like an 8 character size sheet, you do not need to put it.
Getting rid of the "$" doesn't work, either. It still says something is wrong.
try putting a ! in front of it? 😮
That error message means that the file you try to use cannot be found anymore - you need to use the resource manager to reimport the file you're using. And you didn't attach the file I was asking about - you attached a screenshot of the file window.
@Xeniphir and that is absolutely useless. Don't try to give advices you didn't understand yourself.
! tells the engine that the sprite is an object sprite (like door, pillar, window) and not a people-Sprite.
I did not realise I'm sorry. I was told it was for when sprites are not 48x48. x.x I was misinformed myself then, sorry.
What exactly are you asking for, Andar? Are you asking what the result of using the file does? I'm not exactly sure what you need to see, but using the file with "$" in front of it just results in the sprite not appearing. Right now, there are supposed to be two people in the party, but as you can see there is only one.
Edit: Oh wait, are you asking for the png?
Is that really the whole reason why it wasn't working? I thought it didn't matter about whether or not it was uppercase or lowercase. This may be a dumb question, but do you know how to change the ".PNG" to ".png"? I've been trying to change it but every time I make it lowercase it changes back to uppercase.
rename it through a file manager, not from the graphic program.
I am using the file manager.
I'd recommend googling how to change a file extension. I can give directions but the steps you take depends on your OS