Pac-Man Project Init/Copy

This commit is contained in:
2024-04-13 03:30:04 -05:00
commit cb3bd3689e
6 changed files with 419 additions and 0 deletions

10
.cargo/config.toml Normal file
View File

@@ -0,0 +1,10 @@
[target.wasm32-unknown-emscripten]
# TODO: Document what the fuck this is.
rustflags = [
"-O", "-C", "link-args=-O2 --profiling",
#"-C", "link-args=-O3 --closure 1",
"-C", "link-args=-sASYNCIFY -sALLOW_MEMORY_GROWTH=1",
"-C", "link-args=-sUSE_SDL=2 -sUSE_SDL_IMAGE=2 -sSDL2_IMAGE_FORMATS=['png']",
# USE_OGG, USE_VORBIS for OGG/VORBIS usage
"-C", "link-args=--preload-file assets/",
]