thoughts about state methods
Posted: Wed Oct 30, 2013 9:16 pm
I have realized that state method is quite essential to simplify text and create scripts that allow various important actions
Ge provide a tutorial on the game editor website and explain how to do movement and jumping with state method
i was able to understand how to use state method but i still didn't figure out hot to create other action similar to jumping wit state method
for example:
i want my character crouching to the left if standing left and right if standing right,now i used the same code as the one i used for jumping but i didn't really work because i didn't know which state or case does crouching refer
So to sum up
i would like to know how to add more animation by using state and now which value i should enter so GE work properly
Ge provide a tutorial on the game editor website and explain how to do movement and jumping with state method
i was able to understand how to use state method but i still didn't figure out hot to create other action similar to jumping wit state method
for example:
i want my character crouching to the left if standing left and right if standing right,now i used the same code as the one i used for jumping but i didn't really work because i didn't know which state or case does crouching refer
So to sum up
i would like to know how to add more animation by using state and now which value i should enter so GE work properly