hello lovely guys
so i have an object and i rotate it with tween and ease out quad
i have a list of degrees for example 320,270,310,215,etc… , how can i make this object randomly select one of this number to set for tween angel?
Also user can only do rotating 5 time by touching (click) object (mouse or touch should be disable until rotating finish) (and this counter (5 time) saved in firebase for each user) , and for each time user should watch an ad and after 24 hour this number should be reset to 5 again
- so how to make it rotate based on my list of degrees randomly?
- how can i make it to user rotate it only once per watching ad?
- how to disable touch or clicks while rotating finish?
- how to reset (5 time counter) per day in firebase? should i use a rule?
sorry its long , thanks for you guy to paying attention to my questions