DEV Community


Discussion on: What are your programming goals for 2017?

binaryidiot profile image
Kris Siegel

@ben , what language(s) do you know best? Looks like from your Github page you use a lot of JavaScript and Ruby. You can do game dev in both of those! In fact using the canvas to create basic games isn't super difficult once you get used to it.

Most platforms / frameworks will provide you with an update and a render loop (or some sort of abstraction over one). Basically render paints whatever items that should be drawn and nothing else (no calculations unless absolutely necessary) and update is where you do all your collision detection, movement, etc. So you update your character's movement in the update loop and draw wherever the character is in render.

You could even get fancy and go with webGL :)

Thread Thread
ben profile image
Ben Halpern Author

I mostly write in Ruby and JS, but I'd love to take the opportunity to do something totally different. I'd gladly take suggestions. I think I'm more concerned with tooling than language preferences, so something with good support and stable community that will allow me to have an enjoyable experience developing on my Mac.

Thread Thread
gonzalodelgado profile image

Haxe's syntax is pretty close to Javascript, and it's easy to get it up and running on a Mac (although the homebrew install didn't work well for me, had to download it and its dependencies myself).

Also, if you're feeling extra inspired, make sure to check this out: ;-)

And if you're ever uninspired, reading books like The making of Prince of Persia or Masters of Doom helps a great deal with that :-)

Forem Open with the Forem app