Skip to content

Game built for STEM Seminar to demonstrate the power of the Rust programming language using bevy and rapier.

License

Notifications You must be signed in to change notification settings

SirAlienTheGreat/rust-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-game

Game built for STEM Seminar to demonstrate the power of the Rust programming language using bevy and rapier.

Running the game from the binary (recommended)

  1. Download the latest release for your platform from the releases page on the right-hand side.
  2. Extract the archive using 7zip or equivalent program.
  3. Double click on the binary (.exe) for your platform.

Note: On some modern Wayland Systems, if you encounter troubles, try setting this environmental variable: WINIT_UNIX_BACKEND=x11

Controls

|==========================================|
| Action | Keyboard/mouse | Xinput gamepad |
|^^^^^^^^|^^^^^^^^^^^^^^^^|^^^^^^^^^^^^^^^^|
| Move   | WASD           | Left stick     |
|------------------------------------------|
| Camera | Mouse movement | Right stick    |
|------------------------------------------|
| Jump   | Space          | Bottom button  |
|------------------------------------------|
| Dash   | Q              | Left button    |
|------------------------------------------|
| Fall   | Shift          | Right trigger  |
|==========================================|

Building from source

  1. Download and install rust
  2. Clone this repository
  3. Extract the assets.tar.xz file tar -xf assets.tar.xz
  4. Add the empty cache file (for convex decompositions) touch cache.bin
  5. Run the program once with cargo run --release
  6. Wait for the program to decompose objects. The game will appear frozen, and this process may take several minutes, depending on your computer)
  7. Build the final version using cargo build --release
  8. Your binary will appear in target/release/rust-game

About

Game built for STEM Seminar to demonstrate the power of the Rust programming language using bevy and rapier.

Resources

License

Stars

Watchers

Forks

Packages

No packages published