this is a complete deobfuscation of the demo from geometrydash.com. the code is split up into multiple js files, and the rest of the assets were also organized for a comfortable environment to work with.
|
|
if you want to see this demo with other gamemodes, built-in levels and more, then you should consider joining the web dashers server where mods for this demo are made! |
- clone the repository:
git clone https://github.com/sogful/gddemo.git cd gddemo - install dependencies and build:
npm install && npm run build - run it in your browser:
(or
npx serve .python -m http.server/npx http-server)
src/config- easy to edit variablessrc/dependencies- modules required to run the game - phaser for rendering and pako for decompressing level data.
if you wish to use uncompressed level data instead (for some reason) then you will need neither pako nor the majority of LevelParsersrc/game- game-specific scenes and player codesrc/game/fun-
src/game/BootScene.js&src/game/LoadingScene.js- asset loading and initial setupsrc/game/GameScene.js- main game logic