Build v1.143edbbc

v1.143edbbc12f118279590adb7697a3c9e7cb19824

This update for SmartUI, the UI framework for Construct 3 by Pixel Perfect Studio, introduces several new features, optimizations, and critical bug fixes. The GridLayout and ScrollView components received major updates, improving layout flexibility, navigation, and rendering accuracy. Dialogs, Input Handling, and UI Events have also been optimized, ensuring a smoother and more responsive experience. Additionally, this release brings multilanguage support, better focus navigation, and performance improvements across the framework.

🚀 Major Improvements & Optimization

This update delivers performance enhancements, refined navigation, and better interaction handling across the SmartUI framework. It introduces multilanguage support, focus and navigation refinements, and improved scrolling behavior, making UI interactions more fluid and intuitive. Additionally, dialog behavior and animations have been significantly improved, while performance optimizations ensure smoother rendering and input handling.

SmartUI continues to evolve, offering developers greater flexibility, reliability, and efficiency in building UI experiences within Construct 3. 🚀

Addons Version

Addon ID
Current Version

ppstudio_smartui_plugin

1.0.0.2

ppstudio_button_beh

0.0.0.1

ppstudio_checkbox_beh

0.0.0.1

ppstudio_container_beh

0.0.0.1

ppstudio_datalistener_beh

0.0.0.1

ppstudio_dialog_beh

0.0.0.1

ppstudio_discreteprogress_beh

0.0.0.1

ppstudio_gridlayout_beh

0.0.0.1

ppstudio_progressbar_beh

0.0.0.2

ppstudio_radiobutton_beh

0.0.0.1

ppstudio_scrollbar_beh

0.0.0.1

ppstudio_scrollview_beh

0.0.0.1

🆕 New Features

GridLayout

  • Added hasNextPage and hasPrevPage methods for better pagination control.

  • Introduced Renderer and Layouter modes, providing different rendering strategies.

  • DataListener component is now included for dynamic content updates.

ScrollView

  • TriggerDefaultAction added, allowing automatic scrolling when focusing components.

  • setContentComponentName now returns a promise, enabling smoother scrollbar initialization.

  • Scrollview blend mode bug fix, ensuring proper visual blending of content.

Dialogs

  • New IsModalOpen and IsDialogOpen conditions added for better UI control.

  • Dialogs now support an auto-close property, automatically closing when needed.

  • OpenDialog action now passes the layout object instead of just the layout name.

Multilanguage Support

  • Full language support added for CZ, DE, EN, ES, FR, HR, BR, UA, CN.

  • Experimental proximity navigation introduced, improving gamepad compatibility.

  • Left and Right proximity navigation now consider overlapping objects when determining movement direction.

  • Nearest component navigation APIs and ACEs added for better focus handling.

  • Focus first element action now includes containers as valid focus targets.

Performance & Code Enhancements

  • Minification preparation: Public (_) properties changed to private (#).

  • Optimized UIListeners dispatching, reducing unnecessary processing overhead.

  • Improved framework communication by integrating postMessaging for analytics.


🔄 Changes

GridLayout

  • Fit-scaling bug fixed, ensuring better layout scaling.

  • Sorting improvements for layouts using IWorldInstance objects.

ScrollView

  • Relative scrollbar values now replace absolute coordinate values for better responsiveness.

  • Improved scroll-to functionality, refining scroll positioning logic.

  • Content press time calculation moved to onTick for more accurate interaction tracking.

Dialogs

  • Open Dialog invalid layer error handling improved, preventing crashes when layers are missing.

  • Dialog animations improved, making transitions smoother.

Focus & Navigation

  • Focus navigation system improved, calculating the next valid component more accurately.

  • Checkboxes and radio buttons now properly handle setFocus when clicked.

  • DispatchPointerAction now properly handles layer destruction, preventing exceptions.


🐛 Bug Fixes

GridLayout

  • Sorting bug fixed in _sortByLocation, removing unnecessary distance-based sorting criteria.

ScrollView

  • Incorrect content location bug fixed, ensuring smoother scrolling experience.

  • Scrollbar values fixed, preventing incorrect calculations when the scrollbars are destroyed.

  • Blend mode issues fixed, ensuring better rendering.

Dialogs & UI Components

  • isOverObject bug fixed, ensuring pointer tracking works correctly.

  • Hover simulation state fixed, preventing incorrect UI state changes.

  • Animation-eases bug fixed, improving transition consistency.

Input & Navigation

  • Focus navigation bug fixed when determining the nearest component.

  • TransformOpacity now applies correctly to children, if the parent is marked as isInvisibleComponent=false.

  • getOrderedComponentsByClass loop bug fixed, improving how components are retrieved.

  • Default keys now properly stop propagating to the upper iframe/top window.

Last updated

Was this helpful?