The Mugen Multiverse
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Welcome!!! - Bienvenidos!!! - ( We hope you will get involved in the MMV Community which is dedicated to having fun with Mugen ) - Bienvenidos!!! - Welcome!!!
 
PortalHomeFAQMemberlistLatest imagesUsergroupsSearchRegisterComic WIP TrackerDownloadsLog inChat
Website Navigation Help
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» PRINCE2004
forward dash with backward dash code Emptyby jp.resort Today at 2:52 am

» Wizard project
forward dash with backward dash code Emptyby Mr.Ketchup Today at 1:47 am

» Yuri Boyka For Mugen
forward dash with backward dash code Emptyby CARNAGE777 Yesterday at 10:39 pm

» Zatara The Master Magician WIP by RenatoNato
forward dash with backward dash code Emptyby crosspotts1.0 Yesterday at 6:39 pm

Special Features at MMV




Chat on MMV w/ Discord

Video Content Creation Reference
Search
 
 

Display results as :
 
Rechercher Advanced Search

 

 forward dash with backward dash code

Go down 
2 posters
AuthorMessage
jimboshorimbo

jimboshorimbo


Posts : 35
Join date : 2022-03-08
Age : 33
Location : Florida

forward dash with backward dash code Empty
PostSubject: forward dash with backward dash code   forward dash with backward dash code EmptyApril 30th 2023, 3:48 pm

Hello everyone, I am having trouble trying to make a forward dash with a backward dash code, Here is the code
Code:
; RUN_BACK
[Statedef 105]
type    = A
physics = A
ctrl = 0
anim = 105
sprpriority = 1
 
[State 105, 1]
type = VelSet
trigger1 = Time = 0
x = const(velocity.run.back.x)
y = const(velocity.run.back.y)
 
[State 105, 2]
type = CtrlSet
trigger1 = Time = 2
value = 1
 
[State 105, 3]
type = ChangeState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 106
If anyone knows how to use a forward dash with this code, please reply to this message
Back to top Go down
LESSARD

LESSARD


Posts : 2221
Join date : 2016-06-19
Age : 45
Location : In your wildest mugen Dreams

forward dash with backward dash code Empty
PostSubject: Re: forward dash with backward dash code   forward dash with backward dash code EmptyApril 30th 2023, 3:56 pm

Here is dash code for my KAGE 2.0 (Fwd dash & Back dask)

;-----------------------------------------------------------------------------------------------
;Dash
[Statedef 100]
type=S
movetype=I
physics=N
velset=0,0
anim=102
ctrl=0
sprpriority=1

[State 100, Able to Jump]
type = ChangeState
trigger1 = Command = "holdupfwd"
value = 40

[State 52, Assert: NoWalk]
type = AssertSpecial
trigger1 = 1;anim != 5
flag = NoWalk

[State 52, Effect]
type = PlaySnd
trigger1 = animelem = 4
value = 1000,3
channel = 20

[State 52, Effect]
type = PlaySnd
trigger1 = time = 1
value = 130,1
channel = 20

[State 102, vel]
type=velset
trigger1=time>9&&time<18;animelem=4
x=-1*const(velocity.run.back.x);-1.2*const(velocity.run.back.x)
y=const(velocity.run.back.y)

[State 102, end]
type=changestate
trigger1=!animtime
value=101
ctrl=0

;-------------------------------------------------------------------------------------------------------------
;Dash Stop
[Statedef 101]
type = S
movetype = I
physics = S

[State 0, NotHitBy]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1

[State 101, ChangeAnim]
type = ChangeAnim
trigger1 = !Time
value = 101

[State 101, End]
type = ChangeState
trigger1 = !AnimTime
value = 0
ctrl = 1



;------------------------
;Dash Back
[Statedef 105]
type=S
movetype=I
physics=S
velset=0,0
anim=105
ctrl=0
sprpriority=1

[State 52, Assert: NoWalk]
type = AssertSpecial
trigger1 = 1;anim != 5
flag = NoWalk

[State 52, Effect]
type = PlaySnd
trigger1 = animelem = 4
value = 1000,3
channel = 20

[State 52, Effect]
type = PlaySnd
trigger1 = time = 1
value = 130,1
channel = 20

[State 105, vel]
type=velset
trigger1=time>9&&time<18;animelem=4
x=1*const(velocity.run.back.x);-1.2*const(velocity.run.back.x)
y=const(velocity.run.back.y)

[State 105, end]
type=changestate
trigger1=!animtime
value=106
ctrl=0

;----------------------------------------------------------------------------------------------------
;Dash Back Landing
[Statedef 106]
type = S
movetype = I
physics = S
anim = 106
velset = 0, 0

[State 106, Landing Sound]
type = PlaySnd
trigger1 = !Time
value = 52,0

[State 106, End]
type = ChangeState
trigger1 = !AnimTime
value = 0
ctrl = 1





                                         Good Luck!!!
Back to top Go down
 
forward dash with backward dash code
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
The Mugen Multiverse :: Mugen Related :: Mugen Help-
Jump to: