pull/253/merge
notdylanburns 3 years ago committed by GitHub
commit 66a7ee95c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      olcPixelGameEngine.h

@ -119,7 +119,7 @@
Compiling with Emscripten (New & Experimental) Compiling with Emscripten (New & Experimental)
~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
Emscripten compiler will turn your awesome C++ PixelGameEngine project into WASM! Emscripten compiler will turn your awesome C++ PixelGameEngine project into WASM!
This means you can run your application in teh browser, great for distributing This means you can run your application in the browser, great for distributing
and submission in to jams and things! It's a bit new at the moment. and submission in to jams and things! It's a bit new at the moment.
em++ -std=c++17 -O2 -s ALLOW_MEMORY_GROWTH=1 -s MAX_WEBGL_VERSION=2 -s MIN_WEBGL_VERSION=2 -s USE_LIBPNG=1 ./YourSource.cpp -o pge.html em++ -std=c++17 -O2 -s ALLOW_MEMORY_GROWTH=1 -s MAX_WEBGL_VERSION=2 -s MIN_WEBGL_VERSION=2 -s USE_LIBPNG=1 ./YourSource.cpp -o pge.html
@ -194,7 +194,7 @@
Author Author
~~~~~~ ~~~~~~
David Barr, aka javidx9, ©OneLoneCoder 2018, 2019, 2020, 2021 David Barr, aka javidx9, ©OneLoneCoder 2018, 2019, 2020, 2021
*/ */
#pragma endregion #pragma endregion

Loading…
Cancel
Save