Skip to content

4.1.5-beta

Latest

Choose a tag to compare

@JujuAdams JujuAdams released this 14 Jun 12:00
  • Library now supports LTS 2026
  • Camera size calculation has been reworked. PictureFrame should now better use spare space around the edge of the viewport to maximise window space taken up by the game
  • Adds target width/height variables .cameraTargetWidth and .cameraTargetHeight to configuration struct. These are mandatory variables and must be set
  • Removes .cameraMinWidth / .cameraMinHeight. The target width/height is now functionally the minimum size that the camera can be
  • Max camera bounds are now optional and fall back to the target width/height if set to undefined
  • Breaking change to parameters for PfConfigPixelArt() and PfConfigHighRes()
  • Adds PfConfigMixels()
  • PictureFrame can now avoid the notch on mobile devices
  • Adds .surfaceAvoidNotch and .guiAvoidNotch to control whether the application surface and/or GUI will avoid a device's notch
  • Adds PICTURE_FRAME_IOS_INSET_SCALE to handle iOS returning large inset values
  • Adds .cameraIgnore variable to configuration and layout structs to select what PfApply() affects (you can still override this when calling PfApply())
  • Adds PICTURE_FRAME_VERBOSE config macro to allow detailed information to be outputted to the debug log