toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
Walking help
butterbean
Member
Posts:
4,315
July 2009
edited November -1
in
Working with GS (Mac)
What attribute do I change to make the actor walk only when I hit the left or right key so the actor doesn't slide like it's skating on ice?
Comments
Kamazar
Member
Posts:
287
July 2009
These are two solutions. At least one should work.
"If left key if up, change x-velocity to 0"
or just put the "change x-velocity to 0" under the "otherwise" panel
JGary321
Member
Posts:
1,246
July 2009
I just use the move command. My guys never "slide". They stop as soon as I let go.
Actor recieves event key "left" is down.
move direction 180
speed 100
move type additive (default)
relative to actor (default)
Also are you using the built in D-Pad? Or a custom button?
What are you currently using to make them move?
-JGary
butterbean
Member
Posts:
4,315
July 2009
I'm using the custom arrow keys I believe.. I"ll have to check when I get back from vacation
Sign In
or
Register
to comment.
Comments
"If left key if up, change x-velocity to 0"
or just put the "change x-velocity to 0" under the "otherwise" panel
Actor recieves event key "left" is down.
move direction 180
speed 100
move type additive (default)
relative to actor (default)
Also are you using the built in D-Pad? Or a custom button?
What are you currently using to make them move?
-JGary