help with movement please

kipdevkipdev Member Posts: 275

Is there a way to have multiple different characters move at different times. For example, i move 1 character to 1 stop [left right up or down) then double tap a different character and move it any direction also?

Comments

  • gamewizard99gamewizard99 Member, PRO Posts: 67

    You could have several boolean attributes, one for each character. When a character is clicked, the attribute is set to true and you would need a rule stating that if e.g. character1select = true then;
    If up-key = pressed , move ..... etc etc...
    When a character is selected you would have to make sure to reset all the other 'selecting' attributes to false so you can only move one at a time.

  • kipdevkipdev Member Posts: 275

    That makes sense, ill try it tonight after work. Thanks for responding

Sign In or Register to comment.