Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tversteeg/ld46
:rocket: Fermi Paradox - ludum dare 46 compo entry
https://github.com/tversteeg/ld46
game ld46 ludum-dare ludum-dare-46 procedural-generation rust
Last synced: 2 months ago
JSON representation
:rocket: Fermi Paradox - ludum dare 46 compo entry
- Host: GitHub
- URL: https://github.com/tversteeg/ld46
- Owner: tversteeg
- License: agpl-3.0
- Created: 2020-04-16T15:53:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-15T00:52:58.000Z (6 months ago)
- Last Synced: 2024-09-27T09:40:16.587Z (3 months ago)
- Topics: game, ld46, ludum-dare, ludum-dare-46, procedural-generation, rust
- Language: Rust
- Homepage: https://tversteeg.nl/ld46
- Size: 19.3 MB
- Stars: 15
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-quads - Fermi Paradox - arcanoid-like game with moving enemies in space. (Games / Games: On top of miniquad)
README
Fermi Paradox
How come we don’t see any life from other planets? What does an intergalactic society need to do to survive?
## Play
Play it directly in your browser [**here**](https://tversteeg.nl/ld46)!
Or download the executable file from the [Releases](https://github.com/tversteeg/ld46/releases) tab and execute it.
> You might have to change the permissions on Linux with `chmod u+x ld46-*`
## How to play
Use the mouse to project your home planet from the alien invasion.
## Build
You will need an up-to-date [Rust](https://rustup.rs/) setup.
### Linux Dependencies
To build it on linux you will need the X11, OpenGL & Alsa development libraries:
```bash
sudo apt install libasound2-dev libx11-dev libxi-dev libgl1-mesa-dev
```## Run
### Native
You just need to run the following to compile & run the game after you've installed the dependencies:
```bash
cargo run --release
```### WASM
Add the `wasm32` target to Rust, build it with that target & copy it to the root:
```bash
rustup target add wasm32-unknown-unknown
cargo build --release --target wasm32-unknown-unknown
cp target/wasm32-unknown-unknown/release/ld46.wasm .
```Now we have to host the website:
```bash
cargo install basic-http-server
basic-http-server .
```