Releases: cadin/panels
Releases · cadin/panels
2.0.1
2.0
Breaking changes:
- The snapToPanels setting now defaults to
false
. If you want your panels to snap to the screen setPanels.Settings.snapToPanels = true
before callingstart
.
Features:
- added setting for showMainMenuOption
- added ability to change advanceControlSize on sequences and panels (
Panels.ControlSize.SMALL
,.MEDIUM
, or.LARGE
) - added mainMenuDrawingCallback
- added setupFunction to the list of custom functions
- added ability to set margins, borders, and borderRadius on text layers
- added ability to conditionally render layers with the renderCondition property
- added panel autoAdvance
- added nextSequence property for sequences that appear out of order
- added manuallySetImageIndex to allow forcing a layer's currentImage property via custom functions
Improvements:
- you can now use strings for sequence ids instead of trying to track sequence indexes
- changed main menu behavior:
- When chapters are disabled and the game is over show “New Game” instead of “Start Over”
- Don’t show the start over alert in this circumstance (because there’s no way to return to your current game without the chapter menu anyway)
- you can now specify a separate advanceControlPositions for each step in an advanceControlSequence
Bug fixes:
- fixed an issue where very large text layers were getting clipped
- fixed an issue where pressing 0 to unlock all sequences didn't always work with nonlinear comics
- fixed memory leak where panel audio was not being disposed of
- fixed text opacity settings for manually rendered layers
- advanceControlSequence now works for the final panel in a sequence
1.8
New features, improvements, and bug fixes from @ebeneliason 🙏.
Features:
- set custom easing and durations for panel transition animations
- enable rapid advancing through panels (without waiting for transition animations)
- use the crank as advance trigger in auto-advancing sequences (with sensitivity controls)
- invert colors in multicolor fonts
Improvements
- set lineHeightAdjustment for all text layers in a panel
- text layers now properly fade in when their opacity is animated
Bug fixes:
- cutscenes with multiple sequences now work properly
- fixed crash when cutscenes have different background colors
- background colors for multiline text are now drawn at the correct size
1.7.4
1.7.3
1.7.2
1.7.1
More performance improvements. Thanks to @anbjoernskov!
1.7
Features:
- add setting for
defaultFontFamily
- add setting for
menuFontFamily
- add
pixelLock
layer property to reduce flickering on dithered images
Improvements:
- improve rendering performance on oversized panels
- fix caching for static text layers