Game Maker's Garage Forum

Game Creation => C/C++/Objective-C/D/C#/F/R => Topic started by: Gan on January 28, 2012, 02:25:44 AM

Title: SDL C++ Game - XCode 4
Post by: Gan on January 28, 2012, 02:25:44 AM
So late at night Kurt and I decided to learn how to make a C++ game using the SDL framework for drawing, GUI, input, and image loading.
It took lots of research, reading, tutorial trying and failing but...

We found success.
(http://cl.ly/1I2x0u3Q1w202V1B2X1Y/Screen%20Shot%202012-01-28%20at%202.09.56%20AM.png)
(Arrow keys to move the ball)

It might not look like much but that demo features key input, drawing an image to the screen, and an update timer.

Try out the app: (Universally Compiled, 10.4+)
http://cl.ly/0Y0C3c330E0K3R1z1j1m
Check out the source code: (You might need the SDL frameworks installed to compile)
http://cl.ly/0S053s312L3705213Q1C
(Files attached to post just in-case links die)

Fairly epic, eh?
Title: Re: SDL C++ Game - XCode 4
Post by: Connors on January 29, 2012, 11:57:07 AM
In case links die? Are you saying Cloud App might delete things?
Title: Re: SDL C++ Game - XCode 4
Post by: Gan on January 29, 2012, 12:28:16 PM
I don't trust external hosts.

I use to use Mediafire. Then my links started expiring. Eventually space runs out, I'm sure they might start deleting old files after a time period eventually.
Title: Re: SDL C++ Game - XCode 4
Post by: GMG Kurt on January 29, 2012, 12:29:00 PM
I don't think mediafire does that, and if they did they don't now.
Title: Re: SDL C++ Game - XCode 4
Post by: Zoo on January 29, 2012, 08:26:00 PM
I haven't logged into mediafire in ages, and my stuff's all there.
Title: Re: SDL C++ Game - XCode 4
Post by: Connors on January 30, 2012, 07:46:34 PM
Well I'd like to be sure I have a good place for all the files when I compile games with Gan's program.