this is a (mostly) complete deobfuscation of the demo from geometrydash.com. the code is split up into multiple js files and all other assets are organized.
- clone the repository:
git clone https://github.com/sogful/gddemo.git cd gddemo - install dependencies:
npm install - build the project:
npm run build - run it in your browser:
(or
npx serve .python -m http.server/npx http-server)
-
src/game/GameBootstrap.js- phaser config and bootstrap -
src/game/BootScene.js- asset loading and initial setup -
src/game/GameScene.js- main game logic -
src/Globals.js- game config -
src/game/Buttons.js- button actions/links config