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

@@ -15,9 +15,7 @@ Description:
#include "cwasm_matrices.c"
#include "cwasm_arena.c"
#include "cwasm_webgl_js_imports.h"
#include "cwasm_webgl_constants.h"
#if !CWASM_NO_STB_IMAGE
#define STB_IMAGE_IMPLEMENTATION
#define STBIDEF static
#define STBI_NO_STDIO
@@ -29,6 +27,10 @@ Description:
#define STBI_ONLY_PNG
#define STBI_NO_THREAD_LOCALS
#include "stb_image.h"
#endif
#include "cwasm_webgl_js_imports.h"
#include "cwasm_webgl_constants.h"
void InitializeCWasm(u32 scratchArenasSize)
{