Coder Social home page Coder Social logo

alexichepura / bevy_garage Goto Github PK

View Code? Open in Web Editor NEW
140.0 4.0 10.0 14.69 MB

Gamelike car simulation playground.

Home Page: https://alexi.chepura.space/bevy-garage

License: Apache License 2.0

Rust 93.16% Shell 0.91% HTML 0.22% Makefile 0.38% C 0.01% Objective-C 0.03% Dockerfile 0.15% WGSL 5.14%
rust bevy-engine rapier3d gamedev deepqlearning neural-networks racing simulation bevy wasm

bevy_garage's People

Contributors

alexichepura avatar katopz 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  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  avatar  avatar  avatar

bevy_garage's Issues

Neural network improvements.

Some ideas:

  • refactor parameters from const to runtime variables, in resource or component
  • visualise
  • separate road planning and driving networks
  • continuous action space instead of discrete
  • long short-term memory (LSTM)
  • increase actions per second (currently 10) DONE to 30aps with bigger nn and added angvel to state
  • split into crate DONE

localhost 404 for assets

Problems

  • wasm/assets not symbolic link on macOS intel.

Workaround

  • Remove old assets file? and make a symbolic link before serve.
rm ./wasm/assets
ln -s ./assets ./wasm/assets
. ./wasm.sh

Maybe only me but I will log here so ppl can search and see a workaround. Feel free to close it.

multibody panics on despawn

thread 'main' panicked at 'called Option::unwrap()on aNone value', /Users/alexi/.cargo/registry/src/github.com-1ecc6299db9ec823/rapier3d-0.16.0/src/dynamics/joint/multibody_joint/multibody_joint_set.rs:173:29

dimforge/bevy_rapier#196

using ImpulseJoint with many iterations as workaround for now

wgpu error: Validation Error

Problem

Refer to bevyengine/bevy#9389

2023-10-12T04:06:46.819690Z ERROR wgpu::backend::direct: Handling wgpu errors as fatal by default    
thread 'Compute Task Pool (2)' panicked at /Users/katopz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.16.3/src/backend/direct.rs:3019:5:
wgpu error: Validation Error

Caused by:
    In Device::create_texture
      note: label = `main_texture_a`
    Dimension X value 4294967295 exceeds the limit of 16384


note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::view::prepare_view_targets`!
thread 'main' panicked at /Users/katopz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.11.0/src/pipelined_rendering.rs:135:45:
called `Result::unwrap()` on an `Err` value: RecvError

Solution

I did upgrade to bevy 0.11.3 and it work fine on my Mac Intel but not sure about the other target.

So i'm not sure to make a PR. ๐Ÿซฃ

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.