#How do I make a sprite disapear and apear and also change in size with code?

1 messages · Page 1 of 1 (latest)

median hill
#

I have just been able to make it disapear and apear

median hill
#

I have made it disapear and apear

#

but now I also need it to rotate

pliant knoll
#

Just keep modifying the properties

median hill
#

I need to do it by code

fleet bramble
#

You can do that by code.

node.rotation = new_rotation

median hill
#

what??

fleet bramble
median hill
#

I got the rotation

#

but what about it geting bigger and smaller?

fleet bramble
#

That is controlled by the scale property.
But make sure to not re-scale any PhysicsBody