Hello, guys
I want to know how to flip the sprite horizontal or vertical.
example, the sprite walks to left, the it will go back. how to flip the sprite ?
Thanks.
Shawn [import]uid: 38309 topic_id: 8738 reply_id: 308738[/import]
Hello, guys
I want to know how to flip the sprite horizontal or vertical.
example, the sprite walks to left, the it will go back. how to flip the sprite ?
Thanks.
Shawn [import]uid: 38309 topic_id: 8738 reply_id: 308738[/import]
Hi,
Do something like this…
obj.xScale = -1
That should flip it around to the other way
[import]uid: 12700 topic_id: 8738 reply_id: 31837[/import]
wow, thank you!
[import]uid: 38309 topic_id: 8738 reply_id: 31853[/import]