{"id":51017932,"url":"https://github.com/thecodedaniel/spectrum","last_synced_at":"2026-06-21T13:02:02.966Z","repository":{"id":365302115,"uuid":"1271395547","full_name":"TheCodeDaniel/spectrum","owner":"TheCodeDaniel","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-16T18:15:22.000Z","size":30786,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-16T20:15:07.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheCodeDaniel.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-16T16:09:32.000Z","updated_at":"2026-06-16T18:16:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/TheCodeDaniel/spectrum","commit_stats":null,"previous_names":["thecodedaniel/spectrum"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/TheCodeDaniel/spectrum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeDaniel%2Fspectrum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeDaniel%2Fspectrum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeDaniel%2Fspectrum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeDaniel%2Fspectrum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheCodeDaniel","download_url":"https://codeload.github.com/TheCodeDaniel/spectrum/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeDaniel%2Fspectrum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34610829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-21T13:02:01.857Z","updated_at":"2026-06-21T13:02:02.961Z","avatar_url":"https://github.com/TheCodeDaniel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SPECTRUM — Carry the Light Forward\n\n\u003e _Year 1952. Alan has been convicted and his world is fragmenting into darkness._\n\u003e _His companion is ARIA — a glowing cube of shifting logic gates, the proto-AI he built._\n\u003e _Together they journey to carry the light forward through time._\n\nA 2D action-platformer built for game jam. Three zones, one story, zero asset files — every pixel and every note synthesized at runtime.\n\n---\n\n## Controls\n\n| Action | Keys                                                 |\n| ------ | ---------------------------------------------------- |\n| Move   | A / D or Arrow Keys                                  |\n| Jump   | W / Space / Up Arrow (coyote time + variable height) |\n| Dash   | Shift (brief i-frames)                               |\n| Attack | J (melee arc)                                        |\n| Pause  | P                                                    |\n| Mute   | M                                                    |\n\n---\n\n## Story\n\n**ZONE 1 — THE CIPHER HALLS**\nCold blue-grey. Alan and ARIA push through the bureaucratic maze that locked them out. Alan begins to reclaim the first colors.\n\n**ZONE 2 — THE LONG NIGHT**\nDeep indigo. An echo of freedom delayed — the news hasn't arrived yet, but it's traveling. Allied light-spirits join the fight.\n\n**ZONE 3 — THE TRANSMISSION**\nWarm gold. The longest day. Full rainbow aura. The ending is not what you might expect — it's better.\n\nThe arc: persecution → the long night → dawn that arrives late, but arrives.\n\n---\n\n## Gameplay\n\n- **Light Meter**: slowly drains in darkness; refills by defeating shadow wisps and reaching checkpoints. At zero, Alan takes damage. Light is both life and theme.\n- **Shadow Wisps**: drift toward Alan, die in particle bursts. One mini-boss per zone — larger, faster, with a charge attack.\n- **Checkpoints**: mid-level save points that refill light and preserve health on death.\n- **Zone Completion**: defeat the boss → light gate opens → walk through → next zone.\n\n---\n\n## How I Built It\n\nSPECTRUM is built entirely in Phaser 3 with Vite, using Tone.js for all audio and procedural canvas drawing for all art — there are literally zero image or audio files in the repository. Every sprite is drawn pixel-by-pixel with `Graphics.fillRect()` calls and baked into textures via `generateTexture()`. The music is chiptune synthesis: square-wave melody sequences, triangle-bass lines, and membrane drum patterns that transition from minor-key melancholy in zones 1–2 to a warm G-major resolution in zone 3 and the ending. The narrative was the design constraint: every mechanic maps to theme — the light meter isn't just a health bar, it's the literal argument of the game. Alan stays lit by fighting back.\n\n---\n\n## Tech Stack\n\n- **Phaser 3** — game engine (arcade physics, scene management, input)\n- **Tone.js** — all music and SFX, synthesized at runtime\n- **Vite** — build tool, dev server\n- **Vanilla JS** — no TypeScript, no frameworks\n\n## Running Locally\n\n```bash\nnpm install\nnpm run dev\n```\n\nOpen http://localhost:3000\n\n## Building for itch.io\n\n```bash\nnpm run build\n```\n\nUpload the `dist/` folder to itch.io as an HTML5 game.\n\n## GitHub Pages\n\nPush to `main` — the included GitHub Actions workflow builds and deploys automatically to `/spectrum/`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodedaniel%2Fspectrum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodedaniel%2Fspectrum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodedaniel%2Fspectrum/lists"}