How rotate block ? (no rotate behaviors)
very easy to do
Develop games in your browser. Powerful, performant & highly capable.
Here's an example in C2 that will give you smooth rotation between 0, 90, 180, 270: https://www.dropbox.com/s/p1ksfvczxxim3 ... .capx?dl=1
Should be able to import it into C3
ohhhhhhhh you need smooth rotation, sorry
can try something like this
EDIT if you want it more fluid movement you can use every 0.011111111111111111 instead of 0.0222222222222222222222222 and on action rotate of 0.5° isntead of 1°
Thanks for the help,
could also use a counter variable.
every x seconds/tick,if counter =0, rotate 1 degree , add 1 to counter,-trigger once if true - if counter =>45 , set counter to 0, wait 2 seconds, add 1 to counter.
could also use a counter variable. every x seconds/tick,if counter =0, rotate 1 degree , add 1 to counter,-trigger once if true - if counter =>45 , set counter to 0, wait 2 seconds, add 1 to counter.
this would cause it to rotate 45 degrees and then stop, and then continue
Here is another way to smoothly rotate a sprite 360 degrees in 1 second.
Using "dt" guarantees constant speed even if the frame rate changes.