Skip to content

Releases: JujuAdams/PictureFrame

4.2.0-alpha

4.2.0-alpha Pre-release
Pre-release

Choose a tag to compare

@JujuAdams JujuAdams released this 11 Aug 15:44
  • Fixes view not remaining centred when the window resizes
  • Adds extension to handle GX.Games/WebASM resolutions (thank you @tabularelf)

4.1.5-beta

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

4.1.3-alpha

4.1.3-alpha Pre-release
Pre-release

Choose a tag to compare

@JujuAdams JujuAdams released this 24 Jan 03:37
  • Adds target width/height variables .cameraTargetWidth and .cameraTargetHeight to configuration struct. These are mandatory variables and must be set
  • Breaking change to parameters for PfConfigPixelArt() and PfConfigHighRes()
  • Min/max camera bounds (.cameraMinWidth etc.) are now optional and fall back to the target width/height if set to undefined
  • Changes camera size calculation to accommodate the above. PictureFrame should now better use spare space around the edge of the viewport to maximise window space taken up by the game

Since 4.1.1

  • Adds .cameraIgnore variable to configuration and layout structs to select what PfApply() affects (you can still override this when calling PfApply())
  • PfConfigPixelArt() now stretches the application surface to fit the display by default
  • Adds PfConfigMixels()

Since 4.1.2

  • Adds .surfaceAvoidNotch and .guiAvoidNotch

3.2.2 (beta)

3.2.2 (beta) Pre-release
Pre-release

Choose a tag to compare

@JujuAdams JujuAdams released this 25 Oct 21:18
  • Camera size calculation better respects max contraints
  • Fixes scaling when using alternate surfaces with PfPostDrawAppSurface()

3.2.1

Choose a tag to compare

@JujuAdams JujuAdams released this 20 Sep 17:53
  • Fixes window size being set to 0 when minimizing the game window

3.2.0

Choose a tag to compare

@JujuAdams JujuAdams released this 27 Jul 12:11
  • Adds PfGetApplied()
  • Fixes GUI dimensions not being integers

3.1.0

Choose a tag to compare

@JujuAdams JujuAdams released this 26 Jul 21:25
  • Adds feature to stretch GUI over the entire window
  • Improves margin variables

3.0.0

Choose a tag to compare

@JujuAdams JujuAdams released this 25 Jul 20:42

Rework of the API to be easier to understand. Also contains many bug fixes and bonus features.

2.0.0

Choose a tag to compare

@JujuAdams JujuAdams released this 06 Jul 23:23
2.0.0