Graphics.js
p/graphics-js
Made a video game in < 15 min
Eric Wang
Graphics.js β€” Made a video game in < 15 min
Featured
12
β€’
Graphics.js is a 2D web graphics library that is easy enough to learn in 15 minutes, yet powerful enough to make anything
Replies
Eric Wang
One of my fondest memories was learning to code. My HS CS teacher was pretty smart in choosing to teach us through making video games in Python. Back then, coding was basically addictive - really one of the purest forms of creation. After graduating HS, I found myself constantly reaching for that original graphics API - to build a custom visualization for some data or to make a dumb little video game as a weekend project. And I wanted to put it in a web browser to share with my friends via link. So I rewrote the library for web/javascript. The intention for the library isn't to be something to build AAA games with, but rather be low-overhead and simple enough to learn for any web engineer to learn in minutes for a weekend project. You can basically make any game by: * Drawing Shapes/Images * Play Sounds * Listen for Mouse/Keyboard Presses Want to get started? Check the README for the CodePen & boilerplate CLI Hope you make something fun :)
Eric Wang
Hi all, overwhelmed by the positive response here! I've created a GitHub discussions page to connect with all you. Personally, I would love to hear about and try out any projects you guys are working on: https://github.com/soft-boy/grap...
Eric Wang
Hello again folks: I'm aware that I launched with a pretty shoddy documentation, so I rewrote it nicer πŸ˜‡: https://soft-boy.gitbook.io/grap...
Eric Wang
AND - would love to talk to you guys. You can do that by joining my discord: https://discord.gg/hyY9kHvsPB
Peter Roto
What's with the second screenshot?
Eric Wang
@peter_roto this post was a little too low effort hehe, i meant to attach an image of the code for the ball animation, but attached the wrong screenshot
Naveed Rehman
Cool product πŸ‘ I use phaser 3 for making games. How is yours better than phaser?
Eric Wang
@naveed_rehman a small API you can learn in 15 minutes!