Sfoglia il codice sorgente

Update example

pull/874/head
Ray 5 anni fa
parent
commit
6945511e82
5 ha cambiato i file con 30 aggiunte e 2 eliminazioni
  1. +2
    -2
      games/koala_seasons/Makefile
  2. BIN
      games/koala_seasons/koala_seasons.data
  3. +27
    -0
      games/koala_seasons/koala_seasons.html
  4. +1
    -0
      games/koala_seasons/koala_seasons.js
  5. BIN
      games/koala_seasons/koala_seasons.wasm

+ 2
- 2
games/koala_seasons/Makefile Vedi File

@ -116,7 +116,7 @@ endif
ifeq ($(PLATFORM),PLATFORM_WEB)
# Emscripten required variables
EMSDK_PATH ?= C:/emsdk
EMSCRIPTEN_VERSION ?= 1.38.31
EMSCRIPTEN_VERSION ?= 1.38.32
CLANG_VERSION = e$(EMSCRIPTEN_VERSION)_64bit
PYTHON_VERSION = 2.7.13.1_64bit\python-2.7.13.amd64
NODE_VERSION = 8.9.1_64bit
@ -230,7 +230,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
# --profiling # include information for code profiling
# --memory-init-file 0 # to avoid an external memory initialization code file (.mem)
# --preload-file resources # specify a resources folder for data compilation
CFLAGS += -Os -s USE_GLFW=3 -s TOTAL_MEMORY=16777216 --preload-file resources
CFLAGS += -Os -s USE_GLFW=3 -s TOTAL_MEMORY=67108864 --preload-file resources
ifeq ($(BUILD_MODE), DEBUG)
CFLAGS += -s ASSERTIONS=1 --profiling
endif

BIN
games/koala_seasons/koala_seasons.data Vedi File


+ 27
- 0
games/koala_seasons/koala_seasons.html
File diff soppresso perché troppo grande
Vedi File


+ 1
- 0
games/koala_seasons/koala_seasons.js
File diff soppresso perché troppo grande
Vedi File


BIN
games/koala_seasons/koala_seasons.wasm Vedi File


Caricamento…
Annulla
Salva