Sweets Posted August 7, 2017 Posted August 7, 2017 I've added transformation codeing for standing state and walking state and it works. I don't know we're to add it in the jumping states to make it work can I see anyone's coding. Thanks for helping use noobs ;--------------------------------------------------------------------------- ; Jump Up [Statedef 50] type = A physics = A [State 50, 1] type = VarSet trigger1 = Time = 0 sysvar(1) = 0 [State 50, 2] type = ChangeAnim trigger1 = Time = 0 value = ifelse((vel x)=0,41,ifelse((vel x)>0, 42, 43)) [State 50, 3] type = ChangeAnim trigger1 = Vel y > Const720p(-8) trigger1 = SelfAnimExist(anim + 3) trigger1 = anim >=41 && anim <= 43 persistent = 0 value = Anim + 3 ;--------------------------------------------------------------------------- Im coding tranfromation in this stlye for example value = ifelse(var(10)=0,20,30)
Question
Sweets
I've added transformation codeing for standing state and walking state and it works.
I don't know we're to add it in the jumping states to make it work can I see anyone's coding.
Thanks for helping use noobs
;---------------------------------------------------------------------------
; Jump Up
[Statedef 50]
type = A
physics = A
[State 50, 1]
type = VarSet
trigger1 = Time = 0
sysvar(1) = 0
[State 50, 2]
type = ChangeAnim
trigger1 = Time = 0
value = ifelse((vel x)=0,41,ifelse((vel x)>0, 42, 43))
[State 50, 3]
type = ChangeAnim
trigger1 = Vel y > Const720p(-8)
trigger1 = SelfAnimExist(anim + 3)
trigger1 = anim >=41 && anim <= 43
persistent = 0
value = Anim + 3
;---------------------------------------------------------------------------
Im coding tranfromation in this stlye for example
value = ifelse(var(10)=0,20,30)
0 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now