Coder Social home page Coder Social logo

guimcaballero / bevy_rhythm Goto Github PK

View Code? Open in Web Editor NEW
60.0 60.0 7.0 32.62 MB

A small rhythm game implemented in Bevy, with an accompanying tutorial.

Home Page: https://caballerocoll.com/blog/bevy-rhythm-game

License: MIT License

Rust 90.12% GLSL 9.88%
bevy bevy-engine gamedev rust tutorial

bevy_rhythm's People

Contributors

ginxxxxx avatar graves501 avatar guimcaballero avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bevy_rhythm's Issues

Different behaviour then your gifs

I saw your tutorial on bevy discord and decided to cehck it out!

After I added target arrows I get this weird behaviour.

  • First arrow skips 1/3 of the screen
  • Target arrows become available after all arrows have ended

First I thought i made something wrong but when i looked at the commit 9a7e904 and ran it on my computer I got the same behaviour. Made following gif
weird

Running on
Distributor ID: Ubuntu
Description: Ubuntu 20.10
Release: 20.10
Codename: groovy

Bevy version mismatch

The blog post lists the Cargo.toml Bevy dependency as "0.4", but the repository version is "0.5". Folks trying to compile with "0.4" will get the following error, which I'm including for future searchers:

   Compiling bevy_input v0.4.0
error[E0599]: no function or associated item named `new_immediate` found for trait object `dyn Watcher` in the current scope
  --> /home/mbusux/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_asset-0.4.0/src/filesystem_watcher.rs:14:52
   |
14 |         let watcher: RecommendedWatcher = Watcher::new_immediate(move |res| {
   |                                                    ^^^^^^^^^^^^^ function or associated item not found in `dyn Watcher`

error[E0308]: mismatched types
  --> /home/mbusux/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_asset-0.4.0/src/filesystem_watcher.rs:24:28
   |
23 |     pub fn watch<P: AsRef<Path>>(&mut self, path: P) -> Result<()> {
   |                  - this type parameter
24 |         self.watcher.watch(path, RecursiveMode::Recursive)
   |                            ^^^^ expected `&Path`, found type parameter `P`
   |
   = note:   expected reference `&Path`
           found type parameter `P`

Some errors have detailed explanations: E0308, E0599.
For more information about an error, try `rustc --explain E0308`.

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.