Game for Bevy Jam #2
Find a file
2022-08-28 19:40:35 +02:00
assets game is now independent of hexodsp/cpal 2022-08-28 19:40:35 +02:00
src game is now independent of hexodsp/cpal 2022-08-28 19:40:35 +02:00
.gitignore Initial commit 2022-08-21 19:17:55 +02:00
build-itchio.sh Web build script 2022-08-28 00:10:41 +02:00
build-wasm.sh build itchio wasm script 2022-08-27 18:56:54 +02:00
Cargo.lock game is now independent of hexodsp/cpal 2022-08-28 19:40:35 +02:00
Cargo.toml game is now independent of hexodsp/cpal 2022-08-28 19:40:35 +02:00
cover.png build itchio wasm script 2022-08-27 18:56:54 +02:00
cover.xcf build itchio wasm script 2022-08-27 18:56:54 +02:00
index.html Web build script 2022-08-28 00:10:41 +02:00
LICENSE Initial commit 2022-08-21 19:17:55 +02:00
README.md Web build script 2022-08-28 00:10:41 +02:00
run-wasm.sh directly host server after building with run-wasm.sh script 2022-08-26 15:01:40 +02:00
rustfmt.toml Initial commit 2022-08-21 19:17:55 +02:00

Lux synthesĕ

Play in browser

Controls

  • Move: arrows
  • Switch character: Tab
  • Level up: Enter (when character is white)
  • Reset: R
  • Fullscreen: F11
  • Exit: Escape

TODO

  • more filters
  • despawn black characters
  • despawn character when too far
  • more levels
  • (?) multiplayer
  • more audio
  • bug: in level2, move the blue character to win, then reset. The characters are lighter than expected. (also level 4)
  • redshift warning

Build

cargo build --release

WASM

Audio does not work in WASM!

rustup target add wasm32-unknown-unknown
cargo install wasm-bindgen-cli

sh build-wasm.sh

# Serve on 127.0.0.1:8000
python3 -m http.server

Audio

This game uses HexoDSP for audio synthesis.

The synthetizer matrix can be edited using HexoSynth visual editor.

Develop

Skip to level N: u32 with the command bevyjam <N>.

Edit the level N: u32 with the command bevyjam <N> e.

Editor controls

  • Select: left click to select, click in void to deselect, CTRL+click to select many, CTRL+A to select all
  • Move selection: arrows to move one step, Shift+arrows to move continuously
  • Delete selection: delete
  • Add objects: P=platform, C=character, A=absorbing filter, R=rotating filter, M=melty platform
  • Move camera: CTRL+arrows
  • Save: CTRL+S

License

GNU AGPL v3, CopyLeft 2022 Pascal Engélibert, Nixon Cheng

Lux synthesĕ is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.
Lux synthesĕ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with Lux synthesĕ. If not, see https://www.gnu.org/licenses/.