Skip to content

Conversation

@barisyild
Copy link
Contributor

@barisyild barisyild commented Dec 8, 2025

Fix Emscripten compile & rendering issues, implement HTTP requests, remove assets from virtual file system and remove curl and efsw to reduce file size

Emscripten Status

  • Rendering
    • *Rendering [!]
    • Auto Size Canvas [X] -> [✓]
  • Network
    • HTTP Request [X] -> [✓]
  • Compile
    • Compile [X] -> [✓]
    • Optimizations [X] -> [✓]
  • File Size Optimizations
    • Removing curl and efsw from Build [X] -> [✓]

*Some colors are wrongly rendered.

…emove assets from virtual file system and remove curl and efsw to reduce file size
@barisyild
Copy link
Contributor Author

Only rendering issues remain:

  • Some areas are not being rendered
  • Some areas are rendered with incorrect colors

@barisyild
Copy link
Contributor Author

Only rendering issues remain:

  • Some areas are not being rendered
  • Some areas are rendered with incorrect colors

Even though the project is using WebGL2 (OpenGL 3), this might be happening because the API being used is actually WebGL (OpenGL 2). I’m not very familiar with the behavioral differences between these two versions.

#elif defined (EMSCRIPTEN)
#define LIME_GLES
// #define LIME_GLES3_API
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants