SDL for Emscripten is working
This commit is contained in:
1 parent
cb9f6c6932
commit
c8e8903ef2
7 files changed
+42
-24
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# Script to run:
|
||||
|
||||
```
|
||||
emcc main.cpp Game.cpp Math.cpp Physics.cpp Renderer.cpp ShaderManager.cpp TextureManager.cpp Utils.cpp OpenGlExtensions.cpp -O2 -std=c++14 -sTOTAL_MEMORY=33554432 -sUSE_SDL_IMAGE=2 -sSDL2_IMAGE_FORMATS="[""png""]" -sUSE_SDL=2 --preload-file background.bmp --preload-file bird.bmp32 --preload-file default.fragment --preload-file default.vertex --preload-file game_over.bmp32 --preload-file pipe.bmp32 -o jumpingbird.html
|
||||
```
|
||||
Reference in new issue
Block a user