Movement from left to right

I want to know movement from left to right with animation. And want to do movement with mouse control. If I touch, it moves to right with animation. That is all

Comments

  • RPRP Member Posts: 1,990
    edited November 2012
    So, you have a working build, or are in process of making a game? It's difficult to determine what stage you are currently at. Can you clarify?

    For movement with mouse you are going to be using a constrain behavior, constraining directional movement to your mouse position .

    Explain where you are at in some more detail and we'll point you out in the right direction.
  • laminlamin Member Posts: 3
    Ok, I explain. There has two walls with left and right. When I click the actor on the left, actor jumps with animation to the right wall. And I click actor on the right, at the time actor jump to the left wall. Actor does not appear in the air. I mean, when I touch the actor, it moves. If not, it does not move. That is all. If I make some mistake about writing English, I am so sorry.
  • RPRP Member Posts: 1,990
    Okay so it sounds like you want to click the area that you want the actor to move (not just pop into that location), but currently the only way the actor moves is if you click on the actor itself.

    Give this a look, it involves a few methods of tap based movement (all in one vid) see if one of the methods used is applicable to what you are trying to carry out. As far as making the character point and animate left and right, that's another step, but should be simple enough as the click position (left or right side of the actor) will determine which animation you use via rules.

Sign In or Register to comment.