|
|
|
@ -123,8 +123,7 @@ This means you can run your application in teh browser, great for distributing |
|
|
|
|
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 $(Get-ChildItem *.cpp) -o |
|
|
|
|
pge.html --preload-file assets |
|
|
|
|
em++ -std=c++17 -O2 -s ALLOW_MEMORY_GROWTH=1 -s MAX_WEBGL_VERSION=2 -s MIN_WEBGL_VERSION=2 -s USE_LIBPNG=1 $(Get-ChildItem *.cpp) -o pge.html --preload-file assets |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Using stb_image.h |
|
|
|
|