How do I Rotate exactly 90 degree LITE TWEEN

0 favourites
  • 4 posts
From the Asset Store
Avoid obstacles and survive as long as you can!
  • Hi, i have Arrow set to change angle exactly 90 degree when touched, but when you touch again before the tween ended, it will rotate again but will not keep the 90 degree angle anymore. How to fix this please

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, i have Arrow set to change angle exactly 90 degree when touched, but when you touch again before the tween ended, it will rotate again but will not keep the 90 degree angle anymore. How to fix this please

    I suggest disabling the button touch(in other words locking) while rotating using a globalvariable or localvariable

    for example:

    On Touched Button1 & Variable = 0 then

    ---->"Rotate to 90 degrees"(The one you worked at)

    ---->Set Variable to 1

    If Arrow is equal to 90 degrees then set Variable to 0

  • Hey ex32 Hi.

    Just add a boolean to your arrow and set it to true.

    When Arrow touched and boolean is true then triger once while true -set boolean to false and litetween start from the beginning .

    (Dont forget to set the target mode on litetween to absolute.)

    Cheers.

  • thank, you guys, it would ne easier if construct had Disable touch input function

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