A web-based Geometry Dash level viewer using Emscripten and WebGL
- Be sure to have the emsdk, cmake, Ninja, and clang/llvm installed on your device
- In the root folder of the repository, run the following configuration command:
emcmake cmake -B build -S . -G Ninja -DCMAKE_BUILD_TYPE=[Release/RelWithDebInfo/Debug]
- While still in the root folder, run the following command to build (or subsequently rebuild) the WebASM-based rendering engine
cmake --build build
- Be sure to have Node.js installed on your device
- In the
frontend
folder of the repository, run the following installation command:
npm install -D
- Run any of the following commands to build the Svelte-based frontend while still in the
frontend
folder (ensuring the WebASM build has already succeeded at least once)
- To build once:
npm run build
- To rebuild on changes to the frontend code or rebuilds of the WebASM engine
npm run dev
- Be sure to have a version of Python 4+ installed on your device
- In the root folder of the repository, run the following command to run a test server on port 8000
py .\runLocalServer.py