collapse

Author Topic: Animation Only over Certain Colors?  (Read 269 times)

0 Members and 1 Guest are viewing this topic.

Offline Kriven

  • Infinity Regular
  • ****
  • Posts: 863
  • Last Login:February 04, 2021, 04:30:43 PM
  • Rock on, Mario!
    • Email
Animation Only over Certain Colors?
« on: November 04, 2008, 05:49:01 PM »
Is it possible to make an animation that will play over only a specific color of your character? As stated in the other thread, I'm trying to make Karolina (and I did find a few ideas for bases) and I've got a few ideas for how to animate her wonderous flesh. However, I think it might make my life a whole lot easier if there was a way where I could run two seperate animations for the character, one for the character herself and one for her skin. This way no matter what frame she moves to, the changing skin tones would look decent.

So, my question is not easily worded. I'll do my best. Say I color all of Karolina's skin an annoying yellow color. Okay, yellow-skinned character.

Then I make a large animated box as a seperate sprite and make this the animation that her skin would really look like.

Can I program her so that the yellow skin is replaced by the second animation? But only in places where the yellow is? That way the multi-colored skin animation doesn't interfere with her clothes or the background or the other characters.



Offline I_Burner

  • Stage Creator
  • *****
  • Posts: 529
  • Last Login:January 29, 2012, 05:08:52 AM
  • Avy by Hollow Boy aka C.D.
    • Burnt M.U.G.E.N.
Re: Animation Only over Certain Colors?
« Reply #1 on: November 06, 2008, 09:56:15 PM »
i think you can get the effect you want, although it wouldn't be done quite the way you are looking for. I would imagine you would have to make that second animation a "mask" that exactly fits over the character's skin in each frame of animation, and then apply your color-shifting code to that set of animations.

Offline Kriven

  • Infinity Regular
  • ****
  • Posts: 863
  • Last Login:February 04, 2021, 04:30:43 PM
  • Rock on, Mario!
    • Email
Re: Animation Only over Certain Colors?
« Reply #2 on: November 09, 2008, 04:16:42 PM »
I see. Guess I'll try this and if I don't like it, well, I'll figure something out >D *determination!*

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

Virtual Bart Science Fair by Lord_Enemil
[June 15, 2024, 08:23:51 PM]


Classic VS : Cheng / Athena by ELECTRO
[June 13, 2024, 03:03:58 PM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by Uche_of_IMT
[June 10, 2024, 11:25:24 PM]


Street Fighter Spec Ops 2021 by O Ilusionista
[June 08, 2024, 01:36:06 PM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[June 06, 2024, 07:34:10 PM]


Kirby the Dream Battle by O Ilusionista
[June 06, 2024, 01:04:12 PM]


Neo Geo Pocket by malevka2
[June 05, 2024, 10:53:57 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[June 03, 2024, 03:18:12 PM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[June 03, 2024, 03:13:51 PM]


Mega Man & Bass - Dynamo Man by Sir Rousseau by O Ilusionista
[June 03, 2024, 03:09:50 PM]

* IMT Calendar

June 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

SimplePortal 2.3.5 © 2008-2012, SimplePortal