Set position

This forum is currently in read-only mode.
  • I want this pistol be at a point called "weapon" when player is going forward everything is ok, but when I go backwards (mirror) pistols stays at the point it was before. How to fix that? Thanks in advice. Here's picture:

    <img src="http://i.imgur.com/xza75.png" border="0" />

  • I'm not sure if the 'mirror' attribute also mirrors your action points. The alternative would be to turn mirror off and manually create the opposite angle animations and position the action point manually for each frame. I'm not 100% sure how it works. Do you have 'Auto Rotate' set in the platform behaviour? Not sure if that makes a difference either.

    Only other alternative I can think of is maybe have two points, let's say 'WeaponL' and 'WeaponR' then have events such as Sprite: Angle = 0 -> Set Gun position to point WeaponR, and Sprite: Angle = 180 -> Set Gun position to point WeaponL

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)