collapse

Author Topic: Help with programming Psylocke's MvC2 Anti-Air for my Chun Li...  (Read 1253 times)

0 Members and 3 Guests are viewing this topic.

Offline rkmugen

  • MUGEN Content Architect
  • *****
  • Posts: 22
  • Last Login:January 01, 2011, 06:04:56 PM
  • "...because my floor is your ceiling."
    • rkMugen's YouTube Channel
As the subject title says....

I need a little help in programming Psylocke's Psi-Blade attack (her anti-air move in MvsC 2).
So far, the command in the .CMD works perfect and ALL required sprites for this move are included in the .SFF file.  But now, I have a few remaining issues.....


Here's the general layout of what I have so far in the .CNS file:

1) State One:  Chun Li calls Psylocke out.
- - - - - -
2) State Two:  Psylocke jumps/flies in from behind Chun Li; flying animation.
3) State Three:  Psylocke lands in front of Chun Li; landing animation.
4) State Four:  Psylocke performs the upward Psi-Blade; psi-blade animation PLUS Psi-blade alpha-enabled Explod.
5) State Five:  Psylocke goes into her falling animation after Psi-blade; falling animation.
6) State Six:  Psylocke goes into her SECONDARY landing animation; landing animation #2.
7) State Seven:  Psylocke performs her taunt; taunt animation.
8) State Eight:  Psylocke jumps backwards, towards the back edge of the screen relative to P1 and disappears after 50 ticks.
- - - - -- 

The problems are as follows:
1)  Psylocke's sprites in State Four still have the black border in the individual .PCX files even after I've corrected their 256-color palettes in PaintShop...
2)  Psylocke always skips State Three's animation (her landing State and the corresponding animation, just before performing the attack).  That is, instead of staying as 'Psylocke' when she lands, she immediately changes sprites to look like Chun Li....... which is clearly a serious bug.
3)  having trouble giving her a proper velocity for appearing onto the screen after being summoned by Chun.


So please, anyone who can help, I'll gladly give you credit and put you on my next YouTube video!



Offline rkmugen

  • MUGEN Content Architect
  • *****
  • Posts: 22
  • Last Login:January 01, 2011, 06:04:56 PM
  • "...because my floor is your ceiling."
    • rkMugen's YouTube Channel
Re: Help with programming Psylocke's MvC2 Anti-Air for my Chun Li...
« Reply #1 on: May 26, 2008, 02:54:25 PM »
So..... I have managed to fix everything related to the .CNS, but I still end up with the following problem of the black background of the psi-blade sprites themselves.... and I used the exact same palette in PaintShop as the other Psylocke sprites.


Here's a shot of Psylocke flying in, just before her Psi-blade attack:





Now here's her doing the actual attack:




.
When I batch-processed the individual PCX sprites, I used the exact same palette as the one extracted from the sprites that already DID show up fine in-game.  But as you can see, the black background still remains.  AND, I've made sure that those sprites are in 256 colors and not 16-bit(thousands) of colors.

Any suggestions?

Offline Kong

  • IMT Content Architect
  • *
  • Posts: 453
  • Last Login:July 01, 2016, 03:41:01 AM
    • Mugen
    • Email
Re: Help with programming Psylocke's MvC2 Anti-Air for my Chun Li...
« Reply #2 on: May 26, 2008, 07:29:50 PM »
check the transparency color

and put no shadow in the helper.

Offline rkmugen

  • MUGEN Content Architect
  • *****
  • Posts: 22
  • Last Login:January 01, 2011, 06:04:56 PM
  • "...because my floor is your ceiling."
    • rkMugen's YouTube Channel
Re: Help with programming Psylocke's MvC2 Anti-Air for my Chun Li...
« Reply #3 on: May 27, 2008, 05:03:36 PM »
So here's the deal...  the problem was that it wasn't enough to convert the 16-bit sprites down to 8-bit.  For some reason, Photoshop indexed the black background color as the color circled in red (see picture below).  The correct indexed color is the one circled in green. 




Anyway, the corrections were made and here's the result!

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12476
  • Country: Brazil br
  • Last Login:November 11, 2024, 12:35:15 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: Help with programming Psylocke's MvC2 Anti-Air for my Chun Li...
« Reply #4 on: May 31, 2008, 01:43:59 PM »
So here's the deal...  the problem was that it wasn't enough to convert the 16-bit sprites down to 8-bit.  For some reason, Photoshop indexed the black background color as the color circled in red (see picture below).  The correct indexed color is the one circled in green. 




Anyway, the corrections were made and here's the result!



wow, great shot!

first, avoid to use "noshadow" feature. If kinda absurd, you think about :) Why seh wouldn't cast shadow?

second, to avoid it, NEVER uses black as the background color:


you can, on PS, ctrl+click on the first black square then on the one before the last, this will aply the same colord for all squares, choose an another color, like 0 255 0.

Offline rkmugen

  • MUGEN Content Architect
  • *****
  • Posts: 22
  • Last Login:January 01, 2011, 06:04:56 PM
  • "...because my floor is your ceiling."
    • rkMugen's YouTube Channel
Re: Help with programming Psylocke's MvC2 Anti-Air for my Chun Li...
« Reply #5 on: June 04, 2008, 02:31:46 AM »
Whoa... Ilusionista!!!  Long time no see!!!  I remember you from the old MugenDev forum!!

Anyway, I kind of prefer pure black as the background color to make it easier on my eyes to determine which colors are simply dark-gray and "actual black".  It's much harder for me to look at if I had a pure-green or pure-magenta background.

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

Golden Axe Returns by gokudo99
[Today at 03:59:31 AM]


D2TD VS Showcase Thread by D2TD
[November 17, 2024, 08:36:39 AM]


Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by ExShadow
[November 02, 2024, 04:54:41 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]


Rooftop Skyline(1.1 Only/AIGS) by Vegaz by LightFlare
[October 21, 2024, 12:13:37 PM]


Secluded Base(1.1 Only/AIGS) by Vegaz by LightFlare
[October 17, 2024, 01:21:06 PM]

* IMT Calendar

November 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