Initialize 2D mode with custom camera (2D)
None.
cam = {offset:[0,0], target:[0,0], rotation:0, zoom:1} raylib.BeginDrawing raylib.ClearBackground raylib.RAYWHITE raylib.BeginMode2D cam // draw world-space objects here raylib.EndMode2D raylib.EndDrawing
There was an error while loading. Please reload this page.