add new maps, persistent storage, music toggle button

This commit is contained in:
2026-11-21 14:56:05 +03:00
parent bc7b137adb
commit 5b473d15f2
24 changed files with 2142 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ else
RAYLIB_LIBS := -lGL -lm -lpthread -ldl -lrt -lX11
endif
OBJECTS := main.o menu.o game.o tmx.o audio.o
OBJECTS := main.o menu.o game.o tmx.o audio.o storage.o
all: catch-phase
@@ -54,10 +54,13 @@ EMFLAGS := -O2 -DPLATFORM_WEB \
-sUSE_GLFW=3 \
-sTOTAL_MEMORY=134217728 \
-sFORCE_FILESYSTEM=1 \
-sINVOKE_RUN=0 \
-sEXPORTED_RUNTIME_METHODS=FS,IDBFS,callMain \
-lidbfs.js \
--shell-file shell.html \
--preload-file ./res@res
WEB_OBJECTS := web/menu.o web/game.o web/tmx.o web/audio.o
WEB_OBJECTS := web/menu.o web/game.o web/tmx.o web/audio.o web/storage.o
web/%.o: %.sex
mkdir -p web