Jump to content

Moving Palette


Akram
 Share

Recommended Posts

  • 2 weeks later...

@Ryon I found a code for a moving palette

[Statedef -2]

 

;PalFx--------------------------------
;Too many shrooms
[State -2 ]
type = PalFX
triggerall = !ishelper
trigger1 = palNo = 12
time = -1
add = random%257,random%257,random%257
mul = random%257,random%257,random%257
sinadd = random%257,random%257,random%257,10
invertall = 0
color = 256

 

;rainbow effects
[State -2, Rainbow Trail]
type = AfterImage
triggerall = palno = 12
trigger1 = Time = 1
PalContrast = 100+random%256,100+random%256,100+random%256
PalBright = 0,0,0
trans = add
time = -1
length = 30
TimeGap = 1

Link to comment
Share on other sites

On 7/16/2016 at 1:22 PM, Ryon said:

freaky coding... so... did you solve your own question?

freaky coding... so... did you solve your own question?

 

I looked in a character's statedef -2 and found that code.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...