Super bricks HTML5 game

23 Jan

I decided to have some fun with HTML5 canvas and Javascript, so why not develop a game. Well, I’m really happy with the decision. I realized that developing a game in a language gives you the opportunity to deal with really basic logical problem solving. Dealing with the dynamics of the moving ball and collision was so much fun. I’m in the process of getting it better, specially the collisions, they need some more work. I have to give some credit to the basic logic to this tutorial, but I basically didn’t like the code so I changed it a lot to be OO. Also the collision dynamics with blocks wasn’t great for something that should grow with more levels.

If you’re interested in trying it out you can play it here. Soon I’ll have more levels designed. Now if you want to get the Javascript and modify it or add more levels feel free to fork it on GitHub. I’ll add more comments to the code so it’s easier to understand.

If you’re a web developer that is interested in understanding more about Javascript I would definitely recommend developing a game, it’s fun and it will improve your skilss.

No comments yet

Leave a Reply