SDL 1.2.15

Tim Jones    |     January 23rd, 2012    |     5 comments
Some updates to SDL came out last week. Official announcements past the break.
SDL Announcements
Announcements

First Foray into SDL/OpenGL

Stephen Jones    |     December 16th, 2011    |     2 comments
OpenGL handles the drawing of models in a window but it does not provide the window, or handle events; that is why SDL is required. The prime purpose of this tutorial is to set up the SDL window and events mechanism. It also sets up the OpenGL environment that uses the window, the game loop, and a rotating cube.
C#
Mono
Tao

Huh? My Pong clone uses 100% CPU and is still slow?

Jonny D    |     November 9th, 2011    |     10 comments
Your program is being a CPU hog! In some cases, this situation can actually make your program run slowly! Your code needs to give some time back to the OS (i.e. delay or sleep). Use SDL_Delay(Uint32), where the Uint32 is in milliseconds. As a quick fix, you can toss a SDL_Delay(1) call into your loop. That will give up some amount of time, based on the OS and the resolution of SDL_Delay(), which is somewhere around 10ms. If you need better resolution than that, you have to store the time it takes to perform SDL_Delay(1), check that against delay calls, and then burn the rest of the time in an empty loop. Here's a link to some code implementing that.
Blue Dino Code
SDL Tutorials

Setting up MonoDevelop to run Tao

Stephen Jones    |     November 7th, 2011    |     0 comments
The impetus was and still is to build a game. Originally I looked into existing game engines, but it became rapidly apparent the amount of learning required to use them effectively was hardly going to be less than starting from scratch from an OpenGL and SDL base. Furthermore, the use of shaders should be primary and understanding them crucial. I have been creating tutorials as the game engine progresses and offer them here, partly because the writing of them helps me figure stuff out, partly because I have always agreed with NEHE philosophy on matter of making information available, and partly because I have a tendency to lose stuff and if the information is online I can always repatriate it. I hope they are helpful.
C#
Mono
Tao

Game Design Center is Open

Tim Jones    |     October 20th, 2011    |     0 comments
Hey everybody, today Mike and I are launching a new website to help you all out with game design! Who is Mike? Mike is an awesome co-worker of mine that has studied game design for years, taught it, and now wants to help the internet community. Hopefully this new site will be useful resource for all your game developers out there.

You can check out more details here
Announcements
Resources

SDL App States

Tim Jones    |     October 19th, 2011    |     28 comments
In this muchly desired side tutorial we are going to look at how to implement something most commonly called Game States (or as I call them, App States). This tutorial will be based upon the code from the SDL Collision Events tutorial.

To simply explain what an app state is, try to think of your game (or application) as a parent with many child applications. In other words, your primary application can yield control to a single child when needed.
SDL Tutorials
App States
Game States

SDL TTF

Alexander Bock    |     September 8th, 2011    |     14 comments
Text is an important part of almost all games. From informing the player of the awesome combo that they just got, to menu titles, button captions and epic storylines. In this tutorial, we will take a look at SDL_ttf, an addon library for SDL that uses the FreeType library to load fonts and render text.
SDL Tutorials
Fonts

New Design Launched

Tim Jones    |     September 6th, 2011    |     12 comments
Here it is, the new design. There's still a few things that need fixed up, but I think most things should be good to go. Let me know if you find any issues with any area of the site. I'll be adding new features as we go, and hopefully some new tutorials.
Uncategorized

SDLTutorials.com v2.0

Tim Jones    |     September 6th, 2011    |     9 comments
Hrm, I found this link. I wonder what it could be?

http://beta.sdltutorials.com/

Remember folks, this is a work in development and it won't replace this site just yet. Some things are missing, not formatted right, or just don't work. So, do you like it? Hate it? Want certain nifty features?

Let me know!

P.S.
Tested only on Chrome (webkit) for now. Firefox and IE9 should mostly be okay. IE8 or lower? Err, why are you using IE anyway?
Uncategorized

Root Beer Tapper Contest Winner

Tim Jones    |     July 1st, 2011    |     19 comments
Oh boy. Guess how many people entered the contest? One! Come on guys! Where's your enthusiasm? On a happier note, Jacob (the winner), has actually
Contests
RECENT TUTORIALS

First Foray into SDL/OpenGL

OpenGL handles the drawing of models in a window but it does not provide the window, or handle events; that is why SDL is required. The prime purpose of this tutorial is to set up the SDL window and events mechanism. It also sets up the OpenGL environment that uses the window, the game loop, and a rotating cube.

Huh? My Pong clone uses 100% CPU and is still slow?

Your program is being a CPU hog! In some cases, this situation can actually make your program run slowly! Your code needs to give some time back to the OS (i.e. delay or sleep).

Setting up MonoDevelop to run Tao

A new series from Stephen Jones demonstrating how to use C#, Mono, and Tao to develop SDL / OpenGL games.