Devs Caffeine

Web development, games and tech

A "Hello World" for game development

I’ve been trying out a few HTML5 game frameworks these holidays, and I’d like to share my particular “Hello World” for game development: a small game that allows me to quickly learn the basics of a 2D game engine or framework.

It is a space shooter, most of it taken from DIV Games Studio’s manual, and the rest tweaked to try out more essential features of game development.

You can see the final result at Space Shooter HTML5, which I made using the Phaser library.

Now into the actual steps and why! If you want to give this a try, you can grab the image assets I use from the Github repository.

Read more →

Talk at Ruby Manor 4 — Rapid Game Development with Ruby and Gosu

Last spring I spoke at Ruby Manor 4 about game development with Ruby. It’s a bit weird choice for game development, but I’m totally in love with Gosu (a minimalistic 2D game development library).

And finally the video is available!

Here are the slides:

Note regarding the last question asked by the audience, about Gosu working with RubyMotion. I screwed up :) We were discussing this afterwards in the pub, but there are two main reasons: one is that mobile phones use a different OpenGL version (OpenGL ES) than desktop. The other is that touch events are not included in the desktop version. You can see a discussion about this at Gosu’s forum.

What should I learn to be a front-end developer?

What should I learn to be a front-end developer? is a question I get asked quite a lot of times, so I thought it would be a good idea to share my thoughts with everybody.

This is, of course, a compilation of recommendations based on my own experience. Other people will probably recommend different things (specially about the part of Don’t make JavaScript your first programming language), but I truly think that this is a clear, solid path to become a good front-end developer. It surely isn’t the only one, of course, so ask for advice to other developers if you don’t feel that this approach will work for you.

A front-end developer deals with the client side of a web application / site, so all your code will be run inside a browser. The languages you will use in your day-to-day are:

Read more →