After updating my game engine from r69
to r84
, I encountered a few issues. One of them is related to flipping sprites.
In the past, I could easily flip sprites using the following code:
sprite.scale.x = -1;
Unfortunately, this method no longer works in r84
. I'm not sure why this change occurred. Does anyone have suggestions on how to achieve sprite flipping in the latest version? I am considering storing two versions of the texture and toggling between them, but I feel this approach is inefficient and cluttered compared to the previous solution.
r84