collapse

Author Topic: How to make shadows.  (Read 464 times)

0 Members and 1 Guest are viewing this topic.

Offline Scafl

  • New Member
  • *
  • Posts: 5
  • Last Login:September 13, 2011, 05:34:37 PM
    • Email
How to make shadows.
« on: May 12, 2008, 05:17:48 PM »
I'm not talking about afterimages, that's been done to death. I'm talking about these kind of shadows.





I want shadows like this because I can't stand the default shadows in MUGEN. They look f**ked up with a majority of characters and stages, especially characters with odd sprite alignments like Elena from SFIII. Her shadow looks atrocious, especially her win poses.

Any idea how to code something like this? The flames that form a circle and flow around Master Geese  and follow him wherever he goes are probably coded in a similar matter, if any of you have seen that.

Thanks for anyone's help.




Offline susandirs

  • Contributor
  • ****
  • Posts: 22
  • Last Login:June 08, 2009, 05:52:35 AM
    • Email
Re: How to make shadows.
« Reply #1 on: May 12, 2008, 10:20:16 PM »
I haven't done this, but this how I would attack this problem.

First, to disable the current shadows, open up mugen.cfg and change DrawShadows = 1 to say DrawShadows = 0.

Next sprite the round little shadow.

Then use the shadow sprite as the default animation for an Explod.  (you could do it as a helper too but let's try an explod)

in the explod, set  the sprite priority line like this:
Quote
    sprpriority = -3
That makes sure the shadows are never on-top of characters or other helpers.

Getting the shadow to follow the player around is also done with one line:
Quote
bindtime = -1

The tricky part is how to get the shadow to only follow the player around left/right but not up/down.  Hmmm..

I know it can be done.  The kraken and killer-whale characters do something similar with a wooden board that follows you around like a shadow... but I'd have to open up those characters to investigate how they did it.

Good luck,


Offline Scafl

  • New Member
  • *
  • Posts: 5
  • Last Login:September 13, 2011, 05:34:37 PM
    • Email
Re: How to make shadows.
« Reply #2 on: May 16, 2008, 09:18:06 PM »
I tried copying over PotS' Kraken board coding to a character and changed some group and anim numbers, with no success.

Offline b.easy

  • Global Moderator
  • *
  • Posts: 1644
  • Last Login:December 01, 2022, 11:28:07 PM
Re: How to make shadows.
« Reply #3 on: May 18, 2008, 02:44:43 PM »
yeah, coding the shadow itself as a helper for every character is probably the only way to achieve this effect. I'll try to dig up a tutorial for you.

Offline Aztlan

  • Initiate
  • **
  • Posts: 72
  • Country: France fr
  • Last Login:November 26, 2020, 06:52:35 AM
    • Email
Re: How to make shadows.
« Reply #4 on: December 16, 2010, 10:01:09 AM »
Sorry to bump this topic, but I'm searching for some hours now how to put a shadow helper to replace the one of mugen.

EDIT: I found the problem.
« Last Edit: January 01, 2011, 09:11:23 AM by Falkor »
I had so much names in the past... ledernieraztlan, Led, az, Falkor, AgentAztlan

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[May 09, 2024, 11:53:48 AM]


Neon Light Force Demo by kyoman
[May 08, 2024, 12:50:05 PM]


D2TD VS Showcase Thread by D2TD
[May 05, 2024, 10:08:50 AM]


Classic VS : Athena by ELECTRO
[May 02, 2024, 09:44:33 PM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[April 21, 2024, 12:09:20 PM]


Ultimate E. Honda + stage by ELECTRO
[April 18, 2024, 09:47:24 PM]


Sunset Beach (1.1 Only/AIGS) by Vegaz by LightFlare
[April 16, 2024, 06:55:00 PM]


Wonder Twins 2.0 by brucewayne74, Shining and Skhsato123 by brucewayne74
[April 05, 2024, 06:07:48 PM]


X-Men Training Room (Bright & Dark) Stage 1.1 & 1.0 by MatreroG
[April 05, 2024, 10:55:29 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[April 01, 2024, 11:03:03 PM]

* IMT Calendar

May 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4
5 6 7 8 9 [10] 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

SimplePortal 2.3.5 © 2008-2012, SimplePortal