how to have an action on one actor and have a different actor accelerate

Hello everyone,
New guy here. I have the main actor of my game on the left side of my screen. I have control arrows on the righ side of my screen. I want to be able to touch one of the control arrows on the righ side of the screen (for example, the right arrow) and have my actor on the left side move to the right. Any helpwill be greatly appreciated.

Also, can anyone point me in the direction of how to create my game in an android format? Thanks again.

Comments

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,880

    Take a look at the "Official Cross-Platform Controller Template" on the GameSalad dashboard. It shows examples of what you want.

  • SocksSocks London, UK.Member Posts: 12,822
    edited May 2014

    The basic mechanics . . .

    A boolean game attribute is made - call it what you like - 'Right Button Down' works for me.

    You then place a rule in your right 'control arrow' that says . . . when actor is touched change the 'Right Button Down' attribute to true (or 1).

    You then place a rule in your main actor that says . . . when the 'Right Button Down' attribute is true then move right or accelerate or interpolate (or whatever you want it to do).

Sign In or Register to comment.