Page 1 of 1

Editor Problems

Posted: Mon Nov 30, 2015 2:15 pm
by JetRocka99
Hi everyone,
I'm new to the SMBX forums, but not to the game itself...
I'm trying to create an episode, but my custom graphics (NPC with file .txt and all flags included) disappear.
I put them in the editor, and when I play the level they disappear... I go back to the editor and they aren't there.
In the debugger it counts as NPCs in the game... This never happened to me...
Can someone help me?
Thanks :) (Sorry if there are some mistakes, I'm not english)

Re: Editor Problems

Posted: Mon Nov 30, 2015 2:50 pm
by h2643
Does at least one NPC text file use width or height codes? If so, make sure their numbers don't end on *1, *3, *5, *7, or *9. That could be the reason of your NPC disappearing.

Re: Editor Problems

Posted: Mon Nov 30, 2015 3:47 pm
by bossedit8
h2643 wrote:Does at least one NPC text file use width or height codes? If so, make sure their numbers don't end on *1, *3, *5, *7, or *9. That could be the reason of your NPC disappearing.
Yeah, or check here for further informations about NPC dissappearing.

Re: Editor Problems

Posted: Tue Dec 01, 2015 9:14 am
by JetRocka99
That's the code:

framestyle=0
height=61
width=47
frames=1

So... 61 and 47 aren't correct?

Re: Editor Problems

Posted: Tue Dec 01, 2015 9:33 am
by PixelPest
No. Height and width (as well as gfxheight and gfxwidth) need to end in 2, 4, 6, 8, or 0.

Re: Editor Problems

Posted: Tue Dec 01, 2015 11:51 am
by h2643
JetRocka99 wrote:That's the code:

framestyle=0
height=61
width=47
frames=1

So... 61 and 47 aren't correct?
...yeah, they are the problems of your NPC. Judging by the codes your graphics have 1x1 pixels, which this community for some reason really really hates. Just saying.

Re: Editor Problems

Posted: Tue Dec 01, 2015 12:05 pm
by JetRocka99
^^'
I don't mind to get it public... At the moment... :3
BTW, thanks a lot! I will try that later ;)
Thanks again for help!

Re: Editor Problems

Posted: Tue Dec 01, 2015 12:29 pm
by JetRocka99
Tryied and it works!!! THANKS A LOT TO EVERYONE!!!