Added some simple background textures from OpenGameArt.org and rendered them with a little parallax effect

This commit is contained in:
2025-09-02 12:20:11 -07:00
parent 3aee6123c6
commit f45c2d88e0
10 changed files with 46 additions and 14 deletions

View File

@@ -18,9 +18,8 @@ if not "%2"=="" (
if not exist build mkdir build
pushd build
rem TODO: Take the app.c file path as an argument?
echo [Compiling %app_source_path% to %app_module_name%...]
clang %app_source_path% -o "%app_module_name%" -I ".." -I "..\std" -std=gnu2x --target=wasm32-unknown-unknown -mbulk-memory -Wl,--no-entry,--export-dynamic,--allow-undefined,--export=__heap_base --no-standard-libraries --no-standard-includes
clang %app_source_path% -o "%app_module_name%" -I ".." -I "..\std" -std=gnu2x -O0 --target=wasm32-unknown-unknown -mbulk-memory -Wl,--no-entry,--export-dynamic,--allow-undefined,--export=__heap_base --no-standard-libraries --no-standard-includes
if %ERRORLEVEL% NEQ 0 (
echo [FAILED to build %app_module_name%!]
goto :build_end