add new maps, persistent storage, music toggle button
This commit is contained in:
7
Makefile
7
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user