Git Product home page Git Product logo

combine-derby's Introduction

Combine Derby

A disappointingly literal take on COMBINE for the Bevy game jam.

This game has been reincarnated as a Godot project.

Running

Combine Derby can be run locally using Cargo:

cargo run

Controls

Move the Combine with WASD.

  • F3 to togglee debug info.
  • F4 to switch camera.
  • F6 to toggle sound muting.

Building WASM

Web Assembly allows this program to be run in a browser.

Combine Derby builds WASM files to the docs directory so it can be hosted in Github Pages.

rustup target install wasm32-unknown-unknown && cargo install wasm-bindgen-cli && \
cargo build --all-features --target wasm32-unknown-unknown && \
wasm-bindgen --out-dir ./docs/ --target web target/wasm32-unknown-unknown/debug/combine-derby.wasm && \
cp assets/ docs/. -r

The WASM build can also be tested locally, run this in the docs folder:

python3 -m http.server

Note that this doesn't work so well in Firefox due to HTTPS constraints. Chrome has a better time of it.

Asset credits

Soil texture: https://www.deviantart.com/fabooguy/art/Dirt-Ground-Texture-Tileable-2048x2048-441212191.

Side hay bale texture: https://create.vista.com/unlimited/stock-photos/220985178/stock-photo-hay-bale-isolated-white-background/

Moo sound: https://www.freesoundslibrary.com/cow-moo-sound/

Background music: https://www.bensound.com/royalty-free-music/track/jazzy-frenchy-upbeat-funny

Engine sound sample: https://opengameart.org/content/engine-loop-heavy-vehicletank

Hay sound sample: https://www.youtube.com/watch?v=lMlY5yFZ-b8

Smoke particle: https://www.pngkit.com/downpic/u2q8q8u2o0t4q8t4_fog-png-transparent-images-smoke-particle-texture-png/

combine-derby's People

Contributors

richteaman avatar

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.