Sprite rotation
Is there anything in MicroScript 2.0 that can rotate and mirroring sprites?
Is there anything in MicroScript 2.0 that can rotate and mirroring sprites?
Here is a quick example:
screen.setDrawRotation(45)
screen.drawSprite("mysprite",x,y,20,20)
screen.setDrawRotation(0) // reset for subsequent draw ops
See the API doc: https://github.com/pmgl/microstudio/wiki/en-API#screensetdrawrotation-angle
oh. Thanks!
and another question, how can i mirror object while pressing the button?