1

In my game I have characters that have sprites that are drawn onto a off-screen canvas upon creation of the character. Now sometimes the characters have to face a different direction that usual, so I mirror them. My question is now: what is more efficient:

  • Also pre-render the mirrored sprites so I can simply draw them onto the canvas
  • Draw the sprites on a buffer and mirror them on it, then draw them onto my game's canvas
  • Render them mirrored directly onto the canvas(for some reason always off by some pixels, prolly cause of rounding)
4

0 回答 0