Archive for the ‘Blue Dino Code’ category

A Guide to Graphics with Sprig

February 9th, 2010

The following tutorial was created by Blue Dino Code, for the purpose of helping people like you learn SDL. This tutorial, though not purposely a part of the SDLTutorials.com or created for the series, may be a branch or addition to the series. Please read notes by the author for any additional code and/or framework used by the author. SDLTutorials.com does not endorse or reject any of the coding practices outlined in the tutorial, and is not responsible for any code or files belonging to this tutorial that harms your computer.


A Guide to Graphics with SPriG

Prerequisites:
Some knowledge of SDL (see Installing SDL)

The SDL Primitive Generator, SPriG, is a quick and simple interface to making graphics on SDL surfaces. In this guide, I’ll be discussing the notable features of Sprig with usage examples. Not all of the functions are described here. There are plenty more to be found in the documentation once you get the hang of the stuff found here. I will, however, be describing the entire dirty rect interface.

» Read more: A Guide to Graphics with Sprig

MixBox Quick Guide

January 13th, 2010

The following tutorial was created by Blue Dino Code, for the purpose of helping people like you learn SDL. This tutorial, though not purposely a part of the SDLTutorials.com or created for the series, may be a branch or addition to the series. Please read notes by the author for any additional code and/or framework used by the author. SDLTutorials.com does not endorse or reject any of the coding practices outlined in the tutorial, and is not responsible for any code or files belonging to this tutorial that harms your computer.


Prerequisites: C++ classes and a small bit of SDL

MixBox is a set of C++ classes that makes it easy to add sound and music to your games. The MixBox class is the main one. It holds all the sound and music data and has functions that access just about everything you’d want. The other classes, SoundID, MusicID, and ChannelID, are all subclasses of MixID. Each of these classes has functions that roughly duplicate what the MixBox class can do for that type of object, but having them lets you choose how best to work MixBox into your game.

» Read more: MixBox Quick Guide

Jonny D’s C++ Tutorial

January 13th, 2010

The following tutorial was created by Blue Dino Code, for the purpose of helping people like you learn SDL. This tutorial, though not purposely a part of the SDLTutorials.com or created for the series, may be a branch or addition to the series. Please read notes by the author for any additional code and/or framework used by the author. SDLTutorials.com does not endorse or reject any of the coding practices outlined in the tutorial, and is not responsible for any code or files belonging to this tutorial that harms your computer.


/*

////////////////////////  C++ From Start to Classes  \\\\\\\\\\\\\\\\\\\\\\\\\\
——————————————————————————-
| Hi, this is Jonny D and I’ll be whirling you through the basics and some    |
| intricacies of C++.  This tutorial is for ABSOLUTE BEGINNERS that are       |
| computer literate.  I’ll try my best to keep it plain, but if anything      |
| isn’t clear, feel free to drop me a line at GrimFang4@hotmail.com .         |
| Stick with me and you’ll be programming in no time.  I’m currently using    |
| the Code::Blocks IDE (Integrated Development Environment) to write and      |
| compile my code under Windows XP and I use the SDL (Simple DirectMedia      |
| Layer) graphics library for my games.  I highly recommend SDL for when you  |
| feel ready to make video games.  I might leave little bits of information   |
| about SDL along the way towards our learning goal.  To keep it simple, I    |
| won’t be referencing any specific programming language other than C and C++ |
| and I won’t be giving any history lessons (yay!).  From here on out, it’s   |
| pure C++ learning time.                                                     |
|                                                                             |
| Well, let’s get started.                                                    |
——————————————————————————-
*/
 

» Read more: Jonny D’s C++ Tutorial