Skip to content

[0.32.0] - 6-Jan-2025

Latest
Compare
Choose a tag to compare
@vladbat00 vladbat00 released this 05 Jan 23:34
· 2 commits to main since this release

Added

  • Basic bevy_picking support to prevent picking through Egui windows (#338, #331 by @globin and @aevyrie).
  • Helpers for converting between Egui and Bevy types (#345, 488ac6a).

Changed

  • Update Egui to 0.30 (#340 by @PPakalns).
  • Reuse IDs of removed textures (#344).
  • Input handling refactor (#345).
    • This brings us closer to diegetic (world space) UI support, the HoveredNonWindowEguiContext
      and FocusedNonWindowEguiContext resources can now be used to redirect input
      events to other contexts.
    • Input handling was split into separate systems for each event type, which are now also disableable (#346),
      see the EguiGlobalSettings resource.
    • The EguiInputEvent event type was added, which wraps all the events that are sent to Egui.
      It can also be used for custom input events logic, in case you want to mock inputs or handle inputs yourself.
    • The EguiSettings component was renamed to EguiContextSettings.
    • EguiSet was split into the EguiPreUpdateSet and EguiPostUpdateSet sets.
      • EguiInputSet was also added (as EguiPreUpdateSet::ProcessInput subsets).
  • Egui contexts are now immediately initialised for entities with a EguiRenderToImage component
    (as opposed to being initialised with a delay by a separate system),
    thanks to Bevy required components.

Fixed

  • Fix clipboard error handling (#347).