DEV Community

Cover image for Complete Guide to Building Games in the Browser

Complete Guide to Building Games in the Browser

Deon Rich on December 09, 2021

Back in the early days when I first started out in web development, I eventually stumbled across HTML Canvas, and I was immediately hooked. This di...
Collapse
 
zippcodder profile image
Deon Rich

Hey everyone, this is my third article here on DEV, be sure to leave any feedback below. I appreciate it! 😊

Collapse
 
alexeagleson profile image
Alex Eagleson • Edited

This is extremely good stuff! Missed it the first time around but caught it in the weekly roundup.

I got my start in web development by making games with rot.js and Phaser.js (which I have a lot of fond memories of). I never really dug into the canvas API directly, so this post is super interesting to me. Great job!

Collapse
 
zippcodder profile image
Deon Rich • Edited

Thanks alot man! Glad you found it interesting 👌

P.S Congrats to you to BTW, didn't even realize we got featured!

Collapse
 
amedalen profile image
Aj

Beautiful and pro article thank u so much

Collapse
 
zippcodder profile image
Deon Rich

Glad you found it valuble!

Collapse
 
andersonhqds profile image
Anderson Henrique

Excellent article man, it will help me to improve my game development skills, thank you so much

Collapse
 
zippcodder profile image
Deon Rich

Thanks man, happy to help! ✌️

Collapse
 
micahlt profile image
Micah Lindley

Very well-made tutorial! I would remind you that keyCode is depreciated 😊

Collapse
 
zippcodder profile image
Deon Rich

Yeah, force of habit lol. Thank you! 👍

Collapse
 
joegaffey profile image
Joe Gaffey

Excellent article! Some really useful patterns in there. Will definitely be coming back to it for my next game or to improve existing ones.

Collapse
 
zippcodder profile image
Deon Rich

Thanks, Im glad you liked it! 👍

Collapse
 
sbj1198 profile image
Bhaskar Jha

This is really amazing! Thanks for this article.
And by games you mean any kind of game even something like a sudoku solver or whatever?

Collapse
 
zippcodder profile image
Deon Rich

Absolutely!

Collapse
 
lizardkinglk profile image
sndp

Very Cool. Great Article.

Collapse
 
slowcodersloth profile image
Slow Coder Sloth

I thought you use game engine for web game only?

Collapse
 
paravantis profile image
John Paravantis • Edited

It's "explanation", not "explination".

Collapse
 
zippcodder profile image
Deon Rich • Edited

My bad, typos do happen.