{"id":14964110,"url":"https://github.com/haliphax/drop-game","last_synced_at":"2025-09-30T19:30:51.260Z","repository":{"id":143025666,"uuid":"411848684","full_name":"haliphax/drop-game","owner":"haliphax","description":"Clone of PixelPlush's \"parachute drop\", a viewer game as an overlay for Twitch","archived":false,"fork":false,"pushed_at":"2023-12-08T20:50:35.000Z","size":876,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T05:05:46.779Z","etag":null,"topics":["phaser3","phaserjs","static-site","twitch","twitch-bot","twitch-game"],"latest_commit_sha":null,"homepage":"https://haliphax.github.io/drop-game/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haliphax.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"haliphax","ko_fi":"haliphax"}},"created_at":"2021-09-29T22:36:47.000Z","updated_at":"2024-09-26T15:39:18.000Z","dependencies_parsed_at":"2023-10-03T03:31:53.569Z","dependency_job_id":"cc2b627b-72b5-4181-b24d-4c87a2bb4c69","html_url":"https://github.com/haliphax/drop-game","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/haliphax/drop-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haliphax%2Fdrop-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haliphax%2Fdrop-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haliphax%2Fdrop-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haliphax%2Fdrop-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haliphax","download_url":"https://codeload.github.com/haliphax/drop-game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haliphax%2Fdrop-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277746957,"owners_count":25870057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-30T02:00:09.208Z","response_time":75,"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":["phaser3","phaserjs","static-site","twitch","twitch-bot","twitch-game"],"created_at":"2024-09-24T13:32:35.255Z","updated_at":"2025-09-30T19:30:50.977Z","avatar_url":"https://github.com/haliphax.png","language":"TypeScript","funding_links":["https://github.com/sponsors/haliphax","https://ko-fi.com/haliphax"],"categories":[],"sub_categories":[],"readme":"# phaxDrop\n\nMy personal interpretation of the [PixelPlush] \"drop game\", implemented using\nthe [Phaser] JavaScript game engine and [Twitch]'s [tmi.js] library. There is\nno server-side code in this project; it relies entirely on client-side code and\nthe localStorage data store.\n\n## Commands\n\nThe following commands may be used in the Twitch channel where the overlay is\nconnected. Some require that the user be either a moderator or the broadcaster.\n\n| Command                                 | Access    | Description                                                                                                      |\n| --------------------------------------- | --------- | ---------------------------------------------------------------------------------------------------------------- |\n| `!clearscores [username] [username...]` | Moderator | Reset the overlay's localStorage, clearing score records. If no usernames are provided, all records are wiped.   |\n| `!commands`                             | Everyone  | A link to this README section.                                                                                   |\n| `!drop [emote]`                         | Everyone  | Play the game!                                                                                                   |\n| `!droplow`                              | Everyone  | Show the lowest score from the last 24 hours.                                                                    |\n| `!droprecent`                           | Everyone  | Show the most recent drop scores.                                                                                |\n| `!droptop`                              | Everyone  | Show the top score from the last 24 hours.                                                                       |\n| `!help`                                 | Everyone  | Alias for `!commands`.                                                                                           |\n| `!queuedrop [seconds]`                  | Moderator | Begin a drop queue. The game either begins when `!startdrop` is called or after the number of seconds specified. |\n| `!resetdrop`                            | Moderator | Reset an in-progress drop game.                                                                                  |\n| `!startdrop`                            | Moderator | Drop everyone in the queue simultaneously.                                                                       |\n\n## Browser source\n\n### URL\n\nVisit https://haliphax.github.io/drop-game/ and authorize the application via\nyour Twitch account. Fill out and submit the _Overlay URL builder_ form. Copy\nthe URL from your browser and add it as a browser source in your streaming\nsoftware of choice.\n\n### Configuration\n\nThere are several options you can play with that are exposed as optional URL\nhash parameters. Each of these (except for `demo`) is configurable from the\n_Overlay URL builder_ form you are presented with during the OAuth flow after\nlogging into Twitch and authorizing the app.\n\n| Key             | Default   | Description                                                                               |\n| --------------- | --------- | ----------------------------------------------------------------------------------------- |\n| `demo`          | undefined | If this key is present, the background of the game will be set to dark gray (for testing) |\n| `gravity`       | 400       | The gravity to apply to sprites before their parachute is open                            |\n| `gravity_chute` | 60        | The gravity to apply to sprites once their parachute is open                              |\n| `max_velocity`  | 600       | The maximum velocity of sprites (horizontal motion)                                       |\n| `wait`          | 60        | The number of seconds to wait (after the last drop has landed) before resetting the game  |\n\n[Phaser]: https://phaser.io\n[PixelPlush]: https://pixelplush.dev\n[Twitch]: https://twitch.tv\n[tmi.js]: https://tmijs.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaliphax%2Fdrop-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaliphax%2Fdrop-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaliphax%2Fdrop-game/lists"}