YesNoOk
avatar

Darken (Read 509 times)

Started by jjmugen, May 15, 2013, 05:46:29 pm
Share this topic:
Darken
#1  May 15, 2013, 05:46:29 pm
  • **
Hi, guys

I want to change attributes of darkness in superpause "darken" because I'm developing a high level Hyper techniques. I want this techniques
to be darker than "normal" superpauses.

I tought to put screen into dark with BGPalFX and ignore superpause darken with this:

Code:
[State 3100, Super A]
type = SuperPause
trigger1 = Time = 1
pos = -12, -205
anim = 106 ;Hp
sound = 55, 2
poweradd = -1000
unhittable = 1
time = 60
darken = 0 ;No changes

[State 0, BGPalFX] ;My own darkness during all state
type = BGPalFX
trigger1 = 1
time = 1
add = 20,20,20
mul = 50,50,50
sinadd = 0,0,0,10
ignorehitpause = 1

Result of this: During all state screen gets dark correctly, but during superpause screen is lighted up.

Could anyone please help me with this?

Thanks a lot
Re: Darken
#2  May 23, 2013, 06:23:26 pm
  • ***
I just tried your codes. The palfx works during superpause (the screen is dark as intended).

maybe you have something else in the same state meddling with the palfx?
Re: Darken
#3  May 23, 2013, 08:24:44 pm
  • *****
  • Mega Klinklang confirmed
    • USA
    • ricepigeon.webs.com
You need to set the movetime parameter in the superpause. Without it, your character wont be able to use the palfx controller during the pause. This will require extending the animation, however, or you can use a helper to handle it instead.

<<-- Updated 09/14/14

You limit yourself so badly when you try to avoid variables. When you get over your fear of the "complexity" of variables, you will find yourself in a better place: A beautiful world where coding is actually fun.
Re: Darken
#4  May 27, 2013, 10:36:22 am
  • **
You need to set the movetime parameter in the superpause. Without it, your character wont be able to use the palfx controller during the pause. This will require extending the animation, however, or you can use a helper to handle it instead.

Perfect!

Thanks