Skip to content

0.3.0: Post-Radish Update

Choose a tag to compare

@Linus-Mussmaecher Linus-Mussmaecher released this 29 Jun 14:51
· 33 commits to main since this release

Updated the library with a lot of new features noticed lacking during the development of my Radish game Project.
Main changes include:

  • Elements Builders can add children with a .with_child-function, allowing full use of the builder patten. This does not yet work for grids.
  • Added z-levels to make sure the UI is always drawn on top
  • Added directional borders and rounded corners
  • Added directionally dynamic tooltips
  • Added ability to define trigger_key for buttons that
  • Differed the clicked event into clicked (left click), right-click, key_press and triggered (left-click or key press)
  • Added ability to play sounds when elements are triggered
  • Added possibility to live-add and live-remove UiElements during execution. This new system seems better than the old message system that tends to clutter the initialization with a lot of closures.
  • Reworked the UiContainer trait to allow all objects to get passed children, but only containers will retain and display them
  • Sprites can now have a duration of zero for stand-still
  • Added a sprite pool for batch loading and pooling of sprites
  • Updated tutorials wherever required
  • Added as many derives and implemented as many clippy hints as possible
  • Fixed a lot small bugs