Xeeko's Forum Posts

  • Sorry, I still don't get how to achieve the effect shown in the gif? (I'm new to Construct). I implemented the expression, but it doesn't do anything.

    I have sprite called grass, I want moving like that, what do I write, and what's the condition (I'm assuming every tick)?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For like your picture you can use cos() to calculate the amount to rotate. Grass directly above and below won't rotate at all, and grass directly to the sides will rotate the most. 10 degrees in the following.

    Set angle to 10*cos(angle(centerx,centery,grass.x,grass.y))

    Reviving and old post here, but this seems to be what I'm looking for, however I don't quite understand how to use that expression. When implementing it I get an error. What is centerx and centery?