Page 1 of 1

Help with a custom NPC

Posted: Mon Apr 14, 2014 7:33 pm
by FanofSMBX
As you can see (I'm just using Chad's level as a graphic test level), I created a Giant Land style Beach Koopa over the secret beach Koopa. I cropped the effect so it would be 32 pixels height, no blank space, but look under Mario:
Image
What do I do now?

Re: Help with a custom NPC

Posted: Mon Apr 14, 2014 7:44 pm
by FallingSnow
I don't think you can change the graphic dimensions of secondary effects (such as a stomped goomba). The change only applies to the upside-down effect if I remember correctly. So, you just have to deal with it and make the effect fit the same size as it originally did.

Re: Help with a custom NPC

Posted: Mon Apr 14, 2014 7:51 pm
by Chad
You can simulate a working death effect by having the death graphic replace a friendly NPC. Put the NPC on a new layer in the same spot as the Koopa, hide it, then attach the Koopa to that layer. Make the Koopa's death trigger an event that makes the friendly NPC visible, then have that trigger a second event that hides it again in 0.3 seconds or something. Make the real death effect invisible, and you should have a result that looks very similar to a normal death effect that actually shows up properly.

If that doesn't work for you, then you should make the real death effect invisible anyway. A nonexistent effect is better than a glitchy one, personally.

Re: Help with a custom NPC

Posted: Wed Apr 16, 2014 9:36 am
by FutureNyanCat
For Valtteri, he replaced the death effects with an invisible death effect in a giant level for Return to Dinosaur Land. This is much easier and less event-wasting.