{"id":21815915,"url":"https://github.com/ourcade/phaser3-vs-kaboomjs","last_synced_at":"2025-08-26T03:07:28.143Z","repository":{"id":116517595,"uuid":"415346677","full_name":"ourcade/phaser3-vs-kaboomjs","owner":"ourcade","description":"Compare and contrast Phaser 3 and Kaboom.js to create similar game mechanics","archived":false,"fork":false,"pushed_at":"2022-06-11T15:09:37.000Z","size":297,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-07T04:35:52.844Z","etag":null,"topics":["example-code","game-development","gamedev","kaboom-js","kaboomjs","phaser3","typescript"],"latest_commit_sha":null,"homepage":"https://youtu.be/INiqsyOHe4Y","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/ourcade.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2021-10-09T15:25:50.000Z","updated_at":"2024-12-27T20:47:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"af32246d-1cfc-491c-ac20-26e65b437850","html_url":"https://github.com/ourcade/phaser3-vs-kaboomjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ourcade/phaser3-vs-kaboomjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ourcade%2Fphaser3-vs-kaboomjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ourcade%2Fphaser3-vs-kaboomjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ourcade%2Fphaser3-vs-kaboomjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ourcade%2Fphaser3-vs-kaboomjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ourcade","download_url":"https://codeload.github.com/ourcade/phaser3-vs-kaboomjs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ourcade%2Fphaser3-vs-kaboomjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272164956,"owners_count":24884626,"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-08-26T02:00:07.904Z","response_time":60,"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":["example-code","game-development","gamedev","kaboom-js","kaboomjs","phaser3","typescript"],"created_at":"2024-11-27T15:29:04.709Z","updated_at":"2025-08-26T03:07:28.095Z","avatar_url":"https://github.com/ourcade.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![phaser3-vs-kaboomjs](https://user-images.githubusercontent.com/2236153/136664664-1e280a4b-946b-418f-9afd-30e8cee315a1.png)\n\n# Phaser 3 vs Kaboom.js in 3 Examples\n\u003e Compare and contrast 2 different ways to create the same mechanics\n\n![License](https://img.shields.io/badge/license-MIT-green)\n\n## Overview\n\nThis repository contains 3 game mechanic examples using Phaser 3 and Kaboom.js.\n\n- space shooting\n- exploding block\n- A* pathfinding\n\nEach example has a Phaser 3 version and a Kaboom.js version as a means to compare and contrast a class-based paradigm against a functional, component-based paradigm.\n\n[Check out a video going over the code on YouTube!](https://youtu.be/g4slFm0lows)\n\n## Getting Started\n\nClone this repository with git, install dependencies, and then each example has a separate run command.\n\nFirst install dependencies:\n\n```\nnpm install\n```\n\nThen for each example run one of the following at a time:\n\n```\nnpm run start:space \t# for the space example\nnpm run start:blocks\t# for the blocks example\nnpm run start:astar\t# for the astar example\n```\n\nGo to http://localhost:3000 to see the example with a side-by-side comparison.\n\nIf the running example doesn't appear to change then try running the `clean` script and try again:\n\n```\nnpm run clean\n```\n\nYou can also try a hard reload by holding shift and then pressing the refresh button just in case things are cached by the browser.\n\n## Resources\n\nCheck out the [Phaser 3 website](https://phaser.io/) and the [Kaboom.js](https://kaboomjs.com/) website for more on each library.\n\nFor more tutorials on making games with Phaser 3 or Kaboom.js, check out these Ourcade resources:\n\n### From YouTube\n\n- [Getting Started with Phaser 3.50+](https://youtu.be/3Q5jP85PXrE)\n- [Making Your First Phaser 3 Game with TypeScript](https://www.youtube.com/playlist?list=PLumYWZ2t7CRvLU1E-n6VDiOdfEeRQSXPE)\n- [5 Tips for Getting Started with Kaboom.js](https://youtu.be/5F7eaCcZFTk)\n- [Snake Game with Kaboom.js](https://www.youtube.com/playlist?list=PLumYWZ2t7CRui4Td_ZYDYc5jTDmisYqid)\n\nCheck out the [Ourcade channel page for even more](https://www.youtube.com/ourcadehq) including ECS in Phaser 3, custom components in Kaboom.js, and multiplayer games with Colyseus. Be sure to subscribe!\n\n### From the Blog\n\n- [Making Your First Phaser 3 Game in Modern JavaScript](https://blog.ourcade.co/series/making-your-first-phaser-3-game-in-modern-javascript/)\n- [5 Tips for Getting Started with Kaboom.js](https://blog.ourcade.co/posts/2021/5-tips-getting-started-kaboom-js/)\n\nCheck out the [full blog for more](https://blog.ourcade.co/) including a pair of free ebooks!\n\n## Assets\n\nThe game art from this example was provided by [Kenney.nl](http://kenney.nl) and [ansimuz](https://ansimuz.itch.io/legend-of-faune).\n\n## License\n\n[MIT License](https://github.com/ourcade/phaser3-vs-kaboomjs/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fourcade%2Fphaser3-vs-kaboomjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fourcade%2Fphaser3-vs-kaboomjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fourcade%2Fphaser3-vs-kaboomjs/lists"}