Compare commits
41 Commits
3de04ab758
...
a2367fb4f7
| Author | SHA1 | Date |
|---|---|---|
|
|
a2367fb4f7 | 3 months ago |
|
|
c2d1999491 | 3 months ago |
|
|
e6a131a9ac | 3 months ago |
|
|
42e61a3d66 | 3 months ago |
|
|
cacfa0098a | 3 months ago |
|
|
c48be4d41b | 3 months ago |
|
|
f900f3b388 | 3 months ago |
|
|
34e2c5a08b | 3 months ago |
|
|
72ad17d27c | 3 months ago |
|
|
b6af29ee97 | 3 months ago |
|
|
8260185860 | 3 months ago |
|
|
13deeb348a | 3 months ago |
|
|
641732ae03 | 3 months ago |
|
|
76aeb8dcaf | 3 months ago |
|
|
49b95ab5f9 | 3 months ago |
|
|
fdd691f29a | 3 months ago |
|
|
5f4a170a05 | 3 months ago |
|
|
15cb9ae49b | 3 months ago |
|
|
129db30e55 | 3 months ago |
|
|
aac5430f9e | 3 months ago |
|
|
8566a46347 | 3 months ago |
|
|
6f3b4f7e82 | 3 months ago |
|
|
31a15704ca | 3 months ago |
|
|
c20bd94b79 | 3 months ago |
|
|
8002c8bae9 | 3 months ago |
|
|
372240421d | 3 months ago |
|
|
ee09f6f601 | 3 months ago |
|
|
079b5aa787 | 3 months ago |
|
|
7100fc1cb1 | 3 months ago |
|
|
4f6e054630 | 3 months ago |
|
|
8fc58773ce | 3 months ago |
|
|
dad9c05234 | 3 months ago |
|
|
ec64a3358c | 3 months ago |
|
|
068f7363a9 | 3 months ago |
|
|
0873380d11 | 3 months ago |
|
|
808674d2df | 3 months ago |
|
|
484cffda27 | 3 months ago |
|
|
6806e48242 | 3 months ago |
|
|
86375aef0a | 3 months ago |
|
|
fe4708d52d | 3 months ago |
|
|
0cdf95ae72 | 3 months ago |
@ -0,0 +1 @@
|
|||||||
|
*.ogg filter=lfs diff=lfs merge=lfs -text
|
||||||
@ -1,44 +0,0 @@
|
|||||||
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
|
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
Programming: Elijah Voigt
|
||||||
|
|
||||||
|
Art Assets: Kenney.nl
|
||||||
|
1-Bit Platformer Pack
|
||||||
|
|
||||||
|
Engine: Bevy
|
||||||
|
Physics: Avian2D
|
||||||
|
|
||||||
|
Inspired by Flappy Bird (2013) by Dong Nguyen
|
||||||
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.
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.
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.
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…
Reference in New Issue