How do I create a custom talkable NPC sprite

Need help with any SMBX game-related issues? Ask your questions here.
ElPatron036
Goomba
Goomba
Posts: 1
Joined: Mon Apr 02, 2018 5:10 pm

How do I create a custom talkable NPC sprite

Postby ElPatron036 » Mon Apr 02, 2018 5:13 pm

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?

WildWEEGEE
Rocky Wrench
Rocky Wrench
Posts: 664
Joined: Thu Dec 14, 2017 2:21 pm
Flair: C# more like Db
Pronouns: he/him

Re: How do I create a custom talkable NPC sprite

Postby WildWEEGEE » Mon Apr 02, 2018 5:44 pm

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

Hoeloe
Foo
Foo
Posts: 1442
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

Re: How do I create a custom talkable NPC sprite

Postby Hoeloe » Mon Apr 02, 2018 9:18 pm

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.

WildWEEGEE
Rocky Wrench
Rocky Wrench
Posts: 664
Joined: Thu Dec 14, 2017 2:21 pm
Flair: C# more like Db
Pronouns: he/him

Re: How do I create a custom talkable NPC sprite

Postby WildWEEGEE » Mon Apr 02, 2018 9:26 pm

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


Return to “Help and Support”

Who is online

Users browsing this forum: Yandex [Bot] and 2 guests