From 86da9195772ab5799efbbaa185cf14195762cfbe Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Fri, 16 Jun 2023 02:33:30 -0500 Subject: [PATCH] PGE update for emscripten comand. --- Crawler/olcPixelGameEngine.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Crawler/olcPixelGameEngine.h b/Crawler/olcPixelGameEngine.h index db6db708..43fb9460 100644 --- a/Crawler/olcPixelGameEngine.h +++ b/Crawler/olcPixelGameEngine.h @@ -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