How ctrhome/play works
Purpose and Topology
This is a static deployment repository for multiple browser-playable Cut the Rope editions, not a unified application or source project. Each game is independently hosted beneath its own directory; the root index.html likely acts as the site entry/selector. Major editions are Energy, Experiments, Magic, Time Travel, and a tweaked original Cut the Rope build.
Paths: index.html, cut-the-rope-energy/index.html, cut-the-rope-experiments/index.html.
Independent Game Entrypoints
Each edition owns its HTML bootstrap and runtime payloads, so routing and asset paths must remain isolated. The Unity-based editions load through generated WebGL loaders; Time Travel has a bespoke JavaScript/WASM bootstrap; the original build is JavaScript-led.
Paths: cut-the-rope-energy/Build/build6.loader.js, cut-the-rope-magic/Build/WebGL.loader.js, cut-the-rope-time-travel/ctrttboot.js.
Unity WebGL Runtime Pipeline
Energy, Experiments, and Magic package game code as Unity WebGL artifacts. The page loads a loader script, which fetches compressed JavaScript framework/runtime code, WASM engine code, and a data payload. Browser-side WebAssembly is the execution boundary; no server-side game process is represented.
Paths: cut-the-rope-energy/Build/build6.data.br, cut-the-rope-energy/Build/build6.framework.js.br, cut-the-rope-energy/Build/build6.wasm.br.
Addressable/Streaming Content
Experiments and Magic separate core runtime from streamed Unity assets. Catalog/settings files resolve named or hashed bundles for scenes, level groups, visuals, audio, shaders, and UI. This is the main content-delivery boundary: modifying content references requires keeping catalog metadata and deployed bundle filenames consistent.
Paths: cut-the-rope-experiments/StreamingAssets/aa/catalog.bundle, cut-the-rope-experiments/StreamingAssets/aa/settings.json, cut-the-rope-magic/StreamingAssets/aa/catalog.json.
Gameplay Content Organization
Experiments distributes campaign scenes, level packs, reusable gameplay prefabs, animations, and popups as bundles. Magic similarly uses broad game/map/background/audio bundles. These are opaque generated artifacts rather than editable gameplay source in this repository.
Paths: cut-the-rope-experiments/StreamingAssets/aa/WebGL/campaign_scenes_all_e661c3b1df5d2272179159cfa66ca210.bundle, cut-the-rope-experiments/StreamingAssets/aa/WebGL/levels_1_assets_all_a5291cb6d613efe8aaa502b7c947da45.bundle, cut-the-rope-magic/StreamingAssets/game_assets_all_d53f622c74af0f2c33203f5af2b71d18.bundle.
Time Travel Runtime and Data
Time Travel is a separate compiled WASM game stack. Its bootstrap and JS glue load the WASM binary, with fflate.js likely supporting compressed asset handling. Levels are explicit XML map files, while .pb files appear to hold serialized visual/object/UI assets and OGG files hold audio. This edition has the clearest data-driven level boundary.
Paths: cut-the-rope-time-travel/ctr-tt.js, cut-the-rope-time-travel/ctrtt.wasm, cut-the-rope-time-travel/assets/maps/allmaps.xml.
Original/Tweaked HTML5 Build and Platform Integration
tweak/cut-the-rope is a standalone HTML5 build with a primary JavaScript runtime, JSON-defined level packs/sprites, localized resources, and media assets. Famobi manifests/interfaces and Microsoft Start interface scripts indicate host-platform SDK integration for lifecycle, ads, analytics, or portal APIs, though implementation behavior is inside bundled scripts.
Paths: tweak/cut-the-rope/ctrr.js, tweak/cut-the-rope/res/box01/maps.json, cut-the-rope-experiments/famobi-game-interface.js.
Main entry points: build6.loader.js Energy Unity loader · cut-the-rope-experiments/index.html Experiments page · settings.json Addressables catalogs · index.html Edition selector
Components 19
Site shell
- Edition selector · Root site entry for independently deployed games.
index.html
Unity WebGL editions
- Energy page
cut-the-rope-energy/index.html - Experiments page
cut-the-rope-experiments/index.html - Energy Unity loader
cut-the-rope-energy/Build/build6.loader.js - Magic Unity loader
cut-the-rope-magic/Build/WebGL.loader.js - Unity browser runtime · Browser-side execution boundary shared by Unity artifact layouts.
- Energy game data
cut-the-rope-energy/Build/build6.data.br - Energy framework
cut-the-rope-energy/Build/build6.framework.js.br - Energy WASM engine
cut-the-rope-energy/Build/build6.wasm.br - Addressables catalogs · Catalogs and settings must match deployed bundle names.
cut-the-rope-experiments/StreamingAssets/aa/settings.json - Experiments content bundles · Generated campaign, level, prefab, animation, and popup content.
cut-the-rope-experiments/StreamingAssets/aa/WebGL/campaign_scenes_all_e661c3b1df5d2272179159cfa66ca210.bundle - Magic game assets · Generated game, map, visual, and audio content.
cut-the-rope-magic/StreamingAssets/game_assets_all_d53f622c74af0f2c33203f5af2b71d18.bundle - Famobi host interface · Bundled portal lifecycle, ads, analytics, or host APIs.
cut-the-rope-experiments/famobi-game-interface.js
Time Travel
- Time Travel bootstrap
cut-the-rope-time-travel/ctrttboot.js - Time Travel JS glue
cut-the-rope-time-travel/ctr-tt.js - Time Travel WASM
cut-the-rope-time-travel/ctrtt.wasm - Time Travel maps · Explicit data-driven level maps.
cut-the-rope-time-travel/assets/maps/allmaps.xml
Tweaked original
- Original HTML5 runtime
tweak/cut-the-rope/ctrr.js - Original level packs
tweak/cut-the-rope/res/box01/maps.json
Connections 19
- Edition selector → Energy page: selects
- Edition selector → Experiments page: selects
- Energy page → Energy Unity loader: loads
- Energy Unity loader → Energy framework: fetches
- Energy Unity loader → Energy WASM engine: fetches
- Energy Unity loader → Energy game data: fetches
- Energy framework → Unity browser runtime: initializes
- Energy WASM engine → Unity browser runtime: executes in
- Energy game data → Unity browser runtime: loads into
- Experiments page → Unity browser runtime: boots
- Magic Unity loader → Unity browser runtime: boots
- Unity browser runtime → Addressables catalogs: resolves streamed assets
- Addressables catalogs → Experiments content bundles: references
- Addressables catalogs → Magic game assets: references
- Experiments page → Famobi host interface: integrates host SDK
- Time Travel bootstrap → Time Travel JS glue: loads
- Time Travel JS glue → Time Travel WASM: instantiates
- Time Travel WASM → Time Travel maps: reads levels
- Original HTML5 runtime → Original level packs: loads