Skip to content

mirsella/bevy_ui_carousel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bevy UI Carousel

A simple UI carousel built with Bevy, featuring smooth sliding animations and multiple navigation methods.

Features

  • Multiple Pages: Displays a series of colored pages (red, blue, green) in a horizontal carousel.
  • Navigation Options:
    • Keyboard: Arrow keys or A/D keys to navigate left/right.
    • Buttons: Previous and Next buttons at the bottom.
    • Mouse Drag: Drag the carousel to slide between pages with snap-to-nearest behavior.
  • Smooth Animations: Cubic easing for slide transitions.
  • Responsive: Adjusts to window resize by updating page widths and positions.
  • Overflow Clipping: Ensures only the current page is visible.
  • Interaction Picking: Uses Bevy's picking system for mouse interactions.

Demo

https://www.youtube.com/watch?v=Ra4cqBvcbsk

About

demo of a carousel in bevy ui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages