YesNoOk
avatar

Flashing screen for KO (Read 548 times)

Started by Stormrider, November 27, 2007, 02:15:14 pm
Share this topic:
Flashing screen for KO
#1  November 27, 2007, 02:15:14 pm
  • avatar
  • **
I've edited the def and the sff and I've added a piece of animation so that the screen flashes in red several times very quickly when KO. However, this doesn't happen as soon as in the original games where I have seen this effect. It should take place as soon as the final hit knocks out the player. Also, the frames of full screen red should be in front of the stage sprites but not in front of the chars sprites. I don't know if this is possible. Any idea?
Re: Flashing screen for KO
#2  November 27, 2007, 02:19:46 pm
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
This question rather fits in development help. It may be better to mve it there.

Also, the frames of full screen red should be in front of the stage sprites but not in front of the chars sprites.
A matter of sprpriority I believe. Also, I recall the existence of a parameter for the explods, behind=1 or something like that, to always display it behind the characters.

Also, you may want to post you code, using the mcode tags, so that we can see why it doesn't display at the right time.
Re: Flashing screen for KO
#3  November 27, 2007, 02:43:28 pm
  • ******
ignorehitpause = 1
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Re: Flashing screen for KO
#4  November 27, 2007, 03:40:01 pm
  • *****
    • Mexico
behind = 1 is for envcolor, ontop = 1 is for explod, so ontop = 0 is behind the chars and over the bg.