An open API service indexing awesome lists of open source software.

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

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)
```