Showing posts with label html5. Show all posts
Showing posts with label html5. Show all posts

Saturday, 23 June 2012

HTML5 - 2D Game Graphics I

Recently, I started working with HTML5 a bit more. I'd used the canvas and audio elements months ago, but quickly went back to Game Maker after that. As I work with it more these days, I'm finding it incredibly easy to use for game design. I think I'd recommend it to anyone who wants to get some experience making 2D games. I don't know if it's the greatest medium for things like advanced lighting, but it's great otherwise.

You don't even have to stick to 2D games. Check out the official Wolfenstein remake: www.wolfenstein.com. As a ray caster, it's not technically "3D", but it's certainly not a 2D platformer. You can do actual 3D as well, but that requires extra APIs that seem to be browser specific as far as I've seen.

Anyway, on to what I want to talk about. I'm starting with canvases, since they seem to be the most basic part of an HTML5 game. This is assuming that you already have an understanding of HTML and JavaScript.