|
News
Latest Updates
Recent Comments
Most Popular Downloads
Projects
Blob Wars : Blob And Conquer
Blob Wars : Metal Blob Solid
JGameLaunch
The Legend of Edgar
Project: Starfighter
Random Name Generator
Random Shooter
TANX Squadron
Virus Killer
XMAME GUI
Older Files
List of Older Downloads
Medals
Main & Signup
Recently Awarded
Player List
Games
Blob Wars : Metal Blob Solid Legend of Edgar Virus Killer
Online Manuals
Blob Wars : Blob And Conquer
Blob Wars : Metal Blob Solid
Project: Starfighter
The Legend of Edgar
Virus Killer
LBP Beta Code!
Beta Code Giveaway!
Game Tutorials
Overview and Comments
Basic Series
1.01 - Opening a Window
1.02 - Graphics
1.03 - Sound
1.04 - Input and Movement
1.05 - Simple Shooter Pt. 1
1.06 - Simple Shooter Pt. 2
1.07 - Simple Shooter Pt. 3
1.08 - Sprites and Animation
1.09 - Starfields
1.10 - A Basic Game
Intermediate Series
2.01 - Displaying a Tile Based Map
2.02 - Scrolling a Tile Based Map
2.03 - A Tile Based Map Editor
2.04 - Tile Based Map Collision Detection
2.05 - Advanced Animation
Articles
Making of TANX Squadron
Making of Starfighter
Making of Metal Blob Solid
Making of Blob And Conquer
Blob Wars Review #1
Blob Wars Review #2
Blob Wars Review #3
Blob And Conquer Review #1
Interview with Stephen J Sweeney
Gallery
3D Renders
Help and FAQs
Installation and Licensing Help
About
Contact Information
THE HONOUR OF THE KNIGHTS
The new Creative Commons Licensed
novel from Stephen J Sweeney
Visit the official website,
www.battleforthesolarsystem.com
to start reading online!
Buy Now! from Amazon.co.uk
Buy Now! from Book Depository
|
Comments for SDL Tutorial 8 (1)
happyMaxJanuary 12th, 2010 at 20:23I'm afraid you should add fclose(fp); at the end of function "loadAnimation", since you are done using the file when the function ends; otherwise the file will remain open, and since the pointer is lost after the function ends, there is no way to close it. I don't know whether this is really important or not, but just felt the urge to mention it.
The tutorial is just great. The code is neat and clear, easy to follow and very enjoyable and insightful. Thanks!
|