Bookmarks: Game Engine Library

Link: Where do I begin if I want to write a C++ 2d game?

As you may know, I was researching of what is the best free library to teach game programming to high school student. And I suddenly stumbled upon this post, which the last comment gave a very good overview about the major libraries and which one to choose. I will quote it here, just in case the site will be down sometime in the future.

  • SFML — the baby in the group, but potentially easiest to use from what I’ve read.
  • SDL — the middle road. Very mature library, sensible, generally concise if a little arcane from time to time, and a very common choice. Setting up display formats can be a bit of a bastard, I’ve used lazyfoo’s tutorials to help on that front.
  • Allegro — Geriatric, it’s been around since Atari ST days. For that reason, a lot of the 2D rendering code (which I think is only in Allegro 4) is pretty darn quick since the logic was built for much lower spec systems. I personally don’t find it very intuitive, even considering the documentation.

Considering OpenGL accelerates the 2D side of things these days, it’s not that important to have access to the fast software renderers that Allegro and SDL have (or had in earlier versions). However when I pick a library I focus on project maturity, user base and docs more than speed (so long as speed is reasonable), and I would say SDL and Allegro win on those fronts. SDL has also been to release triple AAA titles like Civ: Call to Power.

For you who wants some direct links, here are the direct links to each of the library’s overview:

Advertisements

Bookmarks: Console Game Programming Tutorials

Link: Xoax.net Console C++ Video Tutorials

Link: C++ Game Programming with Allegro

Okay, now I almost got into the class where I (finally) teach programming for the student. I will teach C++ for the high school students. This is where it getting interesting, as I has been dying to wait for this chance to happen. But, of course, I won’t be able to teach them game programming just yet. They will really need the basics. I don’t really know when the time comes, whether I will be able to teach them game programming, or I will switch to database programming instead. After all, I designed this as a preparation to enter Informatics major too. But I will bookmarks them here, just in case. For my future reference.

Reminder: How to Program 2D Games using Dev++

Link: http://9gag.com/gag/4723488 (it’s in the comment section)

It’s weird, when I was read 9gag, that I found one comment talking about game programming. So I thought I will copy and paste it for future references.

Want to program games? Well just do what I did and follow these steps: 🙂

Step one: download dev++ from http://www.bloodshed.net/download.html.
Step two: download core media library from http://www.coremedialibrary.com/?page=119.
Step three: got to your C:\Dev-Cpp\Examples\CoreMediaLibrary\basic folder and studie those examples.

You’ll be able to program simple 2d games in no time. Trust me, I’m a Game Programmer 😉

I never program anything in Dev++ and coremedialibrary environment, so this makes me interested. 🙂