DrawTextureTiled rotation issue / question #4258
-
Hello, I'm using the version of DrawTextureTiled from the examples, but when an angle is used I would like the individual texture calls to be rotating around the center of the destination size as if they were a single big texture. Right now the behavior makes it as every call rotates around an origin but If I use the center of the destination size they don't keep in the same position does anyone know a way I can achieve that?, basically trying to do a tiled rotated rectangle around its center. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @javierecf , |
Beta Was this translation helpful? Give feedback.
-
@JupiterRider those are valid options I did not approached it like that, it may be worth the try, I'm not using Raylib anymore but if anyone else comes around this issue your answer may help them, thank you! |
Beta Was this translation helpful? Give feedback.
Hey @javierecf ,
what about using a Camera2D (has a Rotation field) or a RenderTexture (you can draw the whole map on that texture and draw that texture rotated afterwards).