GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Walking help

butterbeanbutterbean Posts: 4,315Member, PRO
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

  • KamazarKamazar Posts: 287Member
    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
  • JGary321JGary321 Posts: 1,246Member
    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
  • butterbeanbutterbean Posts: 4,315Member, PRO
    I'm using the custom arrow keys I believe.. I"ll have to check when I get back from vacation :)
This discussion has been closed.