Compare commits

..

No commits in common. 'a2367fb4f74b65b7d133f4f0e897d06a82c5e406' and '3de04ab7587436b4bfb99ccfbe3c7fa0da98cf2f' have entirely different histories.

1
.gitattributes vendored

@ -1 +0,0 @@
*.ogg filter=lfs diff=lfs merge=lfs -text

@ -0,0 +1,44 @@
VERSION=$(shell git rev-parse --short HEAD)
web/trees: dist/trees dist/trees/trees_bg.wasm dist/trees/index.html dist/trees/assets
# Create dist directory for trees
dist/trees:
mkdir -p dist/trees
# Build the web version
release/trees/web: src/bin/trees/main.rs src/bin/trees/mono.rs
cargo build --bin trees --release --target wasm32-unknown-unknown
# Use wasm-bindgen to do some magic
dist/trees/trees_bg.wasm: release/trees/web
wasm-bindgen --no-typescript --target web \
--out-dir ./dist/trees \
--out-name "trees" \
${CARGO_TARGET_DIR}/wasm32-unknown-unknown/release/trees.wasm
# Copy html
dist/trees/index.html: web/trees.html
cp ./web/trees.html ./dist/trees/index.html
# Copy assets
dist/trees/assets:
rm -rf dist/trees/assets
rsync -av \
--include='*/' \
--include='*.png' \
--include='*.mono' \
--exclude='*' \
--delete \
assets/ \
dist/trees/assets
# Helpful shorthand to serve files
web/trees/serve: web/trees
cd dist/trees && simple-http-server
itch.io/trees: web/trees
butler push dist/trees popgame/trees:html5 --userversion=$(VERSION)
clean:
rm -rf dist/trees

@ -1,9 +0,0 @@
Programming: Elijah Voigt
Art Assets: Kenney.nl
1-Bit Platformer Pack
Engine: Bevy
Physics: Avian2D
Inspired by Flappy Bird (2013) by Dong Nguyen

BIN
assets/flappy/bevy.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/flappy/bird.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/flappy/bonk.ogg (Stored with Git LFS)

Binary file not shown.

BIN
assets/flappy/ceiling.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/flappy/flap.ogg (Stored with Git LFS)

Binary file not shown.

BIN
assets/flappy/ground.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/flappy/pipe.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/flappy/rewind-start.ogg (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save