Graphics In Engine Look Wrong.

Description: It's archive, posting new is here http://wohlsoft.ru/forum/viewforum.php?f=11

Void
Topic author, Bat
Bat
Avatar
Void
Topic author, Bat
Bat
Age: 21
Reputation: 102
Posts: 279
Joined: 18 Apr 2014
Location: [REDACTED]

Post #1by Void » 27 Jul 2014, 0:36

Alright, So The Graphics Look Kinda messed Up In The Editor Like This:
Image

That Blue/Purple Thing is Messed Up! Why Is This? I Have The Text Codes And everything Correct! Could Someone Help Me?
Join the SMBX 38a Discord Server!
Image

sweep a leaf sweep away a troubles

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 30
Reputation: 493
Posts: 1747
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #2by Wohlstand » 27 Jul 2014, 1:12

Hi, when you set up the height and width, don't forget to set the imageheight and imagewidth also. Otherwise open NPC.txt file inside editor and you will see real-tile result of your config (edited values will be applied instantly): the collision box size isn't always equal to the GFX size, be careful!
A lot of work was done for correctly calculating any NPC's sizes by the NPC.txt's from SMBX, but for some NPC's you must define the gfx size of one frame, because it is not defined statically, always calculating dynamically or using default settings from global INI files.

Image
Oh, and I must add a note in the Graphics glitches guide for this glitch type.

But I can improve the calculator better: could you post sprite and npc-*.txt with the defined config?
If the calculator is working normally, you can use width and height values only without creating of equal GFX width and GFX height values, but will more stable if you always define this values too. Don't forget, you always can see the result of your NPC. When creating NPC configs, you must save them with a custom sprite so you can see it's sprite render.


Return to “Troubleshooting”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest