19:23
09 Sep 2010

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 Tutorials (4)

Tim
July 21st, 2009 at 20:52

Can you add multi-layers to the Tiled Based Map Editor tutorial? I've been trying to do it with multi-dimensional arrays by adding an extra dimension in the map structure member : int tile[LAYER][MAX_MAP_Y][MAX_MAP_X]. So far I can't seem to get it to work where you just work on the map editor and I have it able to switch to the different layers with the press of the c key on the keyboard. The problem I'm having is when I change layers the previous map window disappears and the new map window for next layer comes up. In that current window I can't see the previous stuff that was drawn in layer 0 if I'm in the next layer up like say 1. Currently I have 3 layers going but it seem that I can only draw to each individual layer. I want it to be where I'm only working on one map layer but when I want the tile image to be on another layer of the same map it can draw itself(the tile image) to the current map layer. This is to have effects such as tree on fire if my base layer 0( the map I'm currently working with) is filled with a tree. My next image fire should be on layer 1 so that it sits on top of layer 0 where the tree was. This way I don't have to make a new image tile with tree and fire. I would just use the current image tiles of a tree and a fire. Please direct me in the right direction on how to implement that with what you have for the Tile Based Map Editor. I'm very thankful you have this map editor up and I'm learning a great bit and want to add functionality to it. Thanks

 
vin
April 15th, 2010 at 10:15

I want details on Bowling Game.Where I can get Physics of that one .Can I get source code for the same.

 
Steve
April 15th, 2010 at 14:05

@Vin - Sorry, but I can't write a bowling game tutorial for you. Perhaps you could find one on Google?

 
obsrv
August 30th, 2010 at 20:02

Any plans to write more tutorials on SDL?

 
Name
Homepage
Email
Comments
-- Homepage must start with http://
-- Javascript and Cookies must be enabled to use this form
 

2,006,349 pages served

Copyright © 1996 - 2010 Parallel Realities :: About :: License