Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • 🔧 Login & Sign-Up Fixed!
    The recent login and sign-up issues have been successfully resolved by @DoomJoshuaBoy. Fresh logins are now working normally, so feel free to log in without any trouble! if you do run into trouble please let us know!

CNS Snippet Library

Quick collection of useful CNS code snippets for MUGEN and IKEMEN. Click to copy.
CNS Snippet Library

CNS Snippet Library

Click “Copy” to grab useful CNS code instantly

Basic Projectile

[State 1000, Proj]
type = Projectile
trigger1 = animelem = 3
projanim = 1000
projhitanim = 1001
projremanim = 1002
projid = 1234
velocity = 6,0
remvelocity = 2,0
offset = 20, -40
projpriority = 1

Helper Spawn (Simple)

[State 2000, Helper]
type = Helper
trigger1 = animelem = 2
helpertype = normal
name = "MyHelper"
id = 2000
stateno = 2010
pos = 30,0
ownpal = 1
size.xscale = 1
size.yscale = 1

Life Steal on Hit

[State -2, LifeSteal]
type = LifeAdd
trigger1 = movehit
value = ceil(p2gethitvar(damage) * 0.25)
absolute = 1

Afterimage Effect

[State 3000, AfterImage]
type = AfterImage
trigger1 = time = 0
time = 40
length = 12
framegap = 3
palbright = 0,0,0
palcontrast = 256,256,256
paladd = 0,0,0
trans = add

Safe State Change (No Juggle)

[State 1500, Change]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
  • Published
    Sep 20, 2026
  • Page views
    234
Back
Top