Giter Site home page Giter Site logo

bevy_simple_scroll_view's Introduction

Bevy Simple Scroll View

crates.io docs license Following released Bevy versions crates.io

Simple to use plugin implementing ScrollView into Bevy engine. Supports scroll using dragging and scrolling, should work on all platforms.

Gif with plugin in action

More details available in simple.rs example.

Installation

cargo add bevy_simple_scroll_view

Contributing

Please feel free to open a PR, but keep in mind this project's goals. This is meant to be a simple scroll view widget.

The code should be simple enough for users to quickly understand and modify for their own purposes.

Please keep PRs small and scoped to a single feature or fix.

Planned features

  • horizontal scroll, should be pretty simple.
  • MORE DOCS
  • optional if there would be simple enough implementation I would consider adding scrollbars.

Bevy compatibility table

Bevy version crate version
0.13 0.1

bevy_simple_scroll_view's People

Contributors

leinnan avatar

Stargazers

Alan Manning avatar Ben Cochrane avatar Thomas Brittain avatar Anton Zelenin avatar  avatar  avatar Ame avatar Jan Riemer avatar  avatar Ben avatar Hennadii Chernyshchyk avatar

Watchers

 avatar  avatar

Forkers

cyannide

bevy_simple_scroll_view's Issues

Get the y pos of an element in the scroll view?

I dont see a way that i can reliably get the y position of any element in the scroll view. if you want to jump to some position in the scroll view you can do that with setting the scroll.pos_y, however i cant see a way to jump to a specififc element in the scroll view because i am unable to get the pos_y for any element of the scroll view. i have tried with the translation of an element however that does not correlate to the y_pos. I assume there is something im missing that i can query for in bevy that will give me the y_pos of an element so i can set the scrollable view to that value but i am unable to find it. Is this something that could be implimented here or is it something obvious from within bevy?

Thank you

  • Alan Manning

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.