Posts Tagged ‘sdl’

SDL Entities

February 22nd, 2008

In this new tutorial, as I had promised before, we are going to take our hand at creating entities. Entities, for all gaming purposes, are anything that can be interacted with in any way, shape, or form. Some examples might be a monster or a treasure chest that you can open. In this sense, practically everything within the game that moves is an Entity. A rock that is part of a map, which never moves, is not an entity. But if you wanted that rock to move for whatever reason, then we’d make it an Entity. This tutorial will be split into 3 different tutorials. The first, this one you are reading, will deal with a basic Entity class structure. The next tutorial will veer off slightly to build a Map class via a tileset. Then, the last tutorial, which is what a lot of people have trouble with, will deal with Entity to Map collision, and Entity to Entity Collision.

» Read more: SDL Entities

New Domain – SDLTutorials.com

February 18th, 2008

I decided to buy a domain for DevHub, as I am getting no Pagerank because of the subdomain I am using. You can still get to this site through devhub.lostfish.org, but the direct URL is now http://www.sdltutorials.com. I hope this will bring in a lot more traffic and help people find more relevant information about developing games. I don’t want people to think I am specializing in SDL only, but rather everything we do here will be built upon SDL. So expect in the future OpenGL, Lua, and other libraries being used upon SDL.