Page 1 of 1

How do I create a custom talkable NPC sprite

Posted: Mon Apr 02, 2018 5:13 pm
by ElPatron036
After I saw the Sarasaland Adventure project, it allows you to talk to Daisy, and I think that would be great too if that is possible with other custom sprites, but I don't even know how I do it, any help?

Re: How do I create a custom talkable NPC sprite

Posted: Mon Apr 02, 2018 5:44 pm
by WildWEEGEE
Making NPCs talk:

1. Click any NPC in the editor
2. In their properties box make sure that the NPC is set to friendly
3. Set what it will say
5. Place it down

Adding custom sprites:

1. Download the custom graphics you are using
2. Open the file with winrar or 7zip
3. Find an NPC in the pack that you like
4. Copy and paste it into a folder of the same name of your level, ex: Local disk C/Downloads/SMBX/worlds/My levels/First level
5. Open the editor and find the NPC

Making custom sprites:

1. Download paint.net
2. Unzip it with winrar or 7zip
3. Open paint.net
4. Click "File" and "Make new"
5. Select the dimensions of the image
6. Once you're done make the background black
7. Select "Resize"
8. Select "Nearest neighbour" and resize the image to twice as big as it was
9. Save as "npc-101" or whatever you want your sprite to replace in .gif format
10. Colour your sprite completely black and make the background white
11. Save as "npc-101m" or whatever you want your sprite to replace in .gif format


NOTE: When making the masks for the sprite make sure you don't overwrite the existing sprite

Re: How do I create a custom talkable NPC sprite

Posted: Mon Apr 02, 2018 9:18 pm
by Hoeloe
WildWEEGEE wrote: 9. Save as "npc-101" or whatever you want your sprite to replace in .gif format
10. Colour your sprite completely black and make the background white
11. Save as "npc-101m" or whatever you want your sprite to replace in .gif format

This is only the case if you're working in SMBX 1.3

If you're working in SMBX2, you should save the file with transparency in the .png format, and do not create a mask file.

Re: How do I create a custom talkable NPC sprite

Posted: Mon Apr 02, 2018 9:26 pm
by WildWEEGEE
WildWEEGEE wrote: 9. Save as "npc-101" or whatever you want your sprite to replace in .gif format
10. Colour your sprite completely black and make the background white
11. Save as "npc-101m" or whatever you want your sprite to replace in .gif format
And
WildWEEGEE wrote:6. Once you're done make the background black
are both 1.3 things, if you work with 2.0 or 38A make PNGs with transparent backgrounds