Draw a texture with rotation and scale NOTE: Rotation applied from top-left corner origin
None.
tex = raylib.LoadTexture("sprite.png") raylib.BeginDrawing raylib.ClearBackground raylib.BLACK // Draw at [100, 80], rotated 45 degrees, scaled 2x raylib.DrawTextureEx tex, [100, 80], 45, 2.0, raylib.WHITE raylib.EndDrawing raylib.UnloadTexture tex
There was an error while loading. Please reload this page.