particle genertaor rotation

  • I have created an particle emitter which i rotate towards the player when a key is pressed using

    Setangletoward(player.x,player.y) it works perfectly but now when i try to direct the particle emitter away from the player using Setangletoward(-player.x,-player.y) it wont work...! what am i doing wrong..how do i fix this..

    <img src="http://pasteboard.co/szZvt5h.png" border="0" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have created an particle emitter which i rotate towards the player when a key is pressed using

    Setangletoward(player.x,player.y) it works perfectly but now when i try to direct the particle emitter away from the player using Setangletoward(-player.x,-player.y) it wont work...! what am i doing wrong..how do i fix this..

    <img src="http://pasteboard.co/szZvt5h.png" border="0" />

    Try

    Setangletoward(player.X,player.Y) - 180

  • Thank you for the quick reply but I tried that.....

    even tried -90 & -360 for good measure... it wont work..

    I m not being allowed to post URL / Images so m not able to show u screen grabs..

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