https://github.com/davidb/ld47_keep_inside
My game for Ludum Dare 47
https://github.com/davidb/ld47_keep_inside
Last synced: 8 months ago
JSON representation
My game for Ludum Dare 47
- Host: GitHub
- URL: https://github.com/davidb/ld47_keep_inside
- Owner: davidB
- License: cc0-1.0
- Created: 2020-10-03T18:04:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-21T21:39:55.000Z (over 5 years ago)
- Last Synced: 2025-04-09T12:22:12.446Z (about 1 year ago)
- Language: Rust
- Homepage: https://alchim31.itch.io/keep-inside
- Size: 430 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ld47_keep_inside
The most recent version (playable online) is available on itch.io: [keep inside by alchim31](https://alchim31.itch.io/keep-inside)
My game for Ludum Dare 47 (see release [compo](https://github.com/davidB/ld47_keep_inside/releases/tag/compo))
And some evolutions, experimentations, wip since LD:
- upgrade to bevy 0.3, 0.4
- use lyon to draw entity (vs sprite) (via [Nilirad/bevy_prototype_lyon: Use Lyon in Bevy.](https://github.com/Nilirad/bevy_prototype_lyon))
- create a web version (via [mrk-its/bevy_webgl2: WebGL2 renderer plugin for Bevy game engine](https://github.com/mrk-its/bevy_webgl2))
- add effects (try easing via [bevy_extra/bevy_easings at master · mockersf/bevy_extra](https://github.com/mockersf/bevy_extra/tree/master/bevy_easings))
- use bazel to build
- host on itch.io
## Commands
### To run on local desktop (for dev)
```sh
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](https://github.com/google/cargo-raze/issues/326))
### To run on local webbrowser (for dev)
```sh
# 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
```sh
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)
```