This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ixe:irpl:game:setcamerazoom [2025/01/21 22:17] – [Description] More info Argonwolf | ixe:irpl:game:setcamerazoom [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ===== Examples ===== | ===== Examples ===== | ||
| <code 4rpl> | <code 4rpl> | ||
| + | |||
| + | SetCameraZoom(256) | ||
| + | # This sets the viewport' | ||
| + | |||
| + | GetScreenSize -> | ||
| + | SetCameraZoom(< | ||
| + | # This sets the camera to a fixed resolution of 4 screen pixels per world pixel regardless of screen size | ||
| + | |||
| </ | </ | ||