Skip to content

Conversation

@brachy84
Copy link
Member

@brachy84 brachy84 commented May 6, 2025

  • more robust animations lib
  • animators are still updated by mui and not on demand
  • animators are now updated before a render frame instead on tick
  • helpers to animate multiple animators in parallel and sequential (allows nesting)
  • IAnimatable interface to easyly animate any object (default impl exist for some IDrawable and Area)
  • WidgetTree.resize(widget) gets replaced with widget.scheduleResize(). Widgets are then checked before rendering if they need an update
  • animations for sortable list

brachy84 added 17 commits March 22, 2025 21:32
# Conflicts:
#	src/main/java/com/cleanroommc/modularui/widget/sizer/Box.java
# Conflicts:
#	src/main/java/com/cleanroommc/modularui/screen/ModularContainer.java
#	src/main/java/com/cleanroommc/modularui/test/TestGuis.java
# Conflicts:
#	src/main/java/com/cleanroommc/modularui/api/IMuiScreen.java
#	src/main/java/com/cleanroommc/modularui/screen/ClientScreenHandler.java
#	src/main/java/com/cleanroommc/modularui/test/TestTile.java
#	src/main/java/com/cleanroommc/modularui/widget/Widget.java
# Conflicts:
#	dependencies.gradle
#	src/main/java/com/cleanroommc/modularui/ModularUI.java
@brachy84 brachy84 merged commit 2773d6d into master May 20, 2025
@brachy84 brachy84 deleted the animation branch May 20, 2025 14:31
brachy84 added a commit to brachy84/ModularUI2-GTNH that referenced this pull request May 20, 2025
* small commit

* let nea handle open animation & remove animate argument for closePanel()

* fix slot position

* compat with the remaining nea animations

* draw all backgrounds first, then widget & overlay together

* typo

* art

* only resize widgets before rendering

* fixes & animation for SortableListWidget

* remove old animator

* animated Expandable widget & jei exclusion helper

* update

* nea client only dep

(cherry picked from commit 2773d6d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants