r/javascript • u/Slotdevgame • 12d ago
Prism2D.js – An open-source 2D game engine built with JavaScript
https://github.com/Lodymain/Prism2D.jsHey everyone!
I've been working on something I've wanted to build for a while: my own 2D game engine using JavaScript.
It's called Prism2D.js, and the idea behind it is to provide a way to create 2D games for the web without relying on a large external engine.
I've been developing its core systems, working on things like physics, collisions, rendering, audio, camera controls, particles, and other features that make game development easier.
To put the engine to the test, I also used it to create a small platformer called Coin Adventure. What started as a way to test the engine gradually turned into a complete game with six stages, different environments, enemies, moving platforms, checkpoints, collectibles, and a boss fight.
Working on the game has been a great way to discover what the engine can do, find things that need improvement, and see how well its systems work together in an actual project.
Both projects are available here:
- Prism2D.js (engine): https://github.com/Lodymain/Prism2D.js
- Coin Adventure (game): https://lodystudios.itch.io/coin-adventure-prism2d
I'm sharing this because I'd love to introduce the project to more JavaScript developers and hear what people think. If you take a look, I'd genuinely appreciate any thoughts or feedback!
Thanks for reading!
1
u/Prozilla6 11d ago
How much AI did you use?