Lack of theme/style animations? #5660
Spartan322
started this conversation in
GUI
Replies: 1 comment 2 replies
-
You should be able to animate theme/style variables with AnimationPlayer, though? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Its one of the things I've wondered on in regards to the GUI theming system in general is that there's no seeming capacity to create themes with animations, whether they be "continuous" or transitionary. Honestly I'm not entirely certain if its wanted or necessary in Godot's theming system in the first place, (and beyond very light messing around I haven't much experimented regarding this topic) especially since you can technically achieve mostly similar things if you choose to completely ignore the theming system to the animate the items. That's my concern however with this case, that it does raise the bar of accessibility to animating themes since you have to implement them manually anyway and I don't recall seeing a clean reusable implementation of such behavior that doesn't either do that or use multiple nodes at once. There are cases for things like style boxes specifically that continuous animations could be done with animated textures and style box texture resources, and anywhere else textures are valid you can probably get away animated textures however I'm not sure this is a great solution if this is considered a problem since you may not want to rely on textures for your style and messing with them to animate a style is not very clean in the inspector. It also doesn't solve the transitionary side of the issue anyhow.
If this considered a valuable concept by anyone, I would like further comments to discuss on the design or perhaps specific problems this might better address for which the design can or should take into account.
Beta Was this translation helpful? Give feedback.
All reactions