Giter Club home page Giter Club logo

ld47_keep_inside's Introduction

ld47_keep_inside

The most recent version (playable online) is available on itch.io: keep inside by alchim31

My game for Ludum Dare 47 (see release compo)

And some evolutions, experimentations, wip since LD:

Commands

To run on local desktop (for dev)

cd game
cargo run --features native

Currently, using bazel for dev is not optimal, The regular rust toolchain for bazel (cargo-raze + rust_rules) doesn't work with bevy (see How to combine features, platform and dependencies ? · Issue #326 · google/cargo-raze)

To run on local webbrowser (for dev)

# currently the bazel workspace doesn't install tools like basic-http-server
cargo install basic-http-server
bazel run //web:serve

Open http://localhost:4000/ into the browser

To publish web on itch.io

bazel run //itch.io:butler login
bazel build //itch.io:publish-web --verbose_failures --action_env=BUTLER_API_KEY=$(cat  $HOME/.config/itch/butler_creds)

ld47_keep_inside's People

Contributors

davidb avatar

Stargazers

Makks avatar  avatar Manfred Kröhnert avatar Vadim avatar Jendrik Poloczek avatar gulbrand.dev avatar

Watchers

 avatar James Cloos avatar  avatar

ld47_keep_inside's Issues

Compilation error

When compiling the game in the directory "game" we have

   Compiling bevy_winit v0.4.0
error[E0599]: no function or associated item named `new_immediate` found for trait object `dyn Watcher` in the current scope
  --> /Users/mathieu/.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
  --> /Users/mathieu/.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`.
error: could not compile `bevy_asset` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
(base) ➜  game git:(heads/main) find . -name Cargo.toml

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.