NOGDUS

Articles, Tutorials, and other things. => Allegro Game Programming => : Richard Marks March 21, 2009, 12:48:12 PM



: Allegro Game Programming Series: Part III -- 2009 version
: Richard Marks March 21, 2009, 12:48:12 PM
Allegro Game Programming Series: Part III -- 2009 version

Following after this tutorial (http://ccpssolutions.com/nogdusforums/index.php?topic=402.0), I am going to cover how to add scrolling to your little tile engine.

The scrolling is tile * tile, meaning it isn't smooth-scrolling, but don't worry.
That topic will be covered in a later tutorial.
Here is a screen shot of the project:
(http://www.ccpssolutions.com/agps/2009/agpsIII2009-ss1.png) (http://www.ccpssolutions.com/agps/2009/agpsIII2009-ss1.png)

Download Code::Blocks project, full-source, and resources (http://www.ccpssolutions.com/agps/2009/AllegroAGPS2009_VeryBasicScrollingTileEngineProject.tar.gz)

I wanted to get a little more in-depth with this tutorial than the original (http://www.ccpssolutions.com/agps/hitcounter.php?page=agps_p3) tutorial covered.

I decided to use the TileStudio (http://tilestudio.sourceforge.net/) software to create the demo map.
Since I'm using Linux, I had to use Windows XP with VirtualBox (http://www.virtualbox.org/) in order to run TileStudio.

I wrote a map exporter for TileStudio to be able to output the engine map file format directly. 8)

I will detail how to use TileStudio to create maps in a separate tutorial soon.
For now, toy with the demo map and you should be able to figure it out.

Download the TileStudio Project and Map Exporter (http://www.ccpssolutions.com/agps/2009/AllegroAGPS2009_VBSTE_TileStudioStuff.zip)


Tutorial text is being written right now. This post will be edited as soon as its finished. Stay tuned. 8)


Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is missing the copyright message for SMF so they can rectify the situation. Display of copyright is a legal requirement. For more information on this please visit the Simple Machines website.