Crates.io | ld46 |
lib.rs | ld46 |
version | 0.2.7 |
source | src |
created_at | 2020-04-18 19:21:59.662404 |
updated_at | 2022-10-08 09:13:41.553522 |
description | Fermi Paradox - my entry for Ludum Dare 46 |
homepage | https://tversteeg.nl/ld46 |
repository | https://github.com/tversteeg/ld46 |
max_upload_size | |
id | 231645 |
size | 144,810 |
How come we don’t see any life from other planets? What does an intergalactic society need to do to survive?
Play it directly in your browser here!
Or download the executable file from the Releases tab and execute it.
You might have to change the permissions on Linux with
chmod u+x ld46-*
Use the mouse to project your home planet from the alien invasion.
You will need an up-to-date Rust setup.
To build it on linux you will need the X11, OpenGL & Alsa development libraries:
sudo apt install libasound2-dev libx11-dev libxi-dev libgl1-mesa-dev
You just need to run the following to compile & run the game after you've installed the dependencies:
cargo run --release
Add the wasm32
target to Rust, build it with that target & copy it to the root:
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:
cargo install basic-http-server
basic-http-server .