❔ Flip Board not working properly
Hello, I'm working on a level editor for my game. My board is not flipping properly.
I've attached a video.
Here is my code:
12 Replies
Do you want flipping or rotation, because they're not the same
I want flipping.
I figured the easiest way was rotation, then offset.
The level bounds are demonstrated here
Yes, but rotating something is just different. Flipping something along an axis means it's distance from one "edge" is now its distance from the opposite one
oh, interesting.
Thank you @amio
I did not realize the solution was so simple.
Thank you.
Nice! 🙂 You're welcome
@amio I realize just now, that I am trying to make the effect of two people on two sides of the board, and they decide to rotate it.
so what I do need is rotation, and not mirroring.
Sounds like 180, so you can just flip it twice, once along each axis
ooh
Thank you! Got it.
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.