Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  


I was planning on making some more complex demos, but it looks like I'm going to be very busy next week, so you'll have to settle for this crap. Hooray for run-on sentences! Also they're in C, not C++. Oh well, everyone loves C.

Horizontal Scrolling "Desert" Demo

Not much point in this one except to show never-ending horizontal scrolling. Use the arrow keys to move.

Vertical / Parallax Scrolling "Gundam" Demo

Shows how to do never-ending vertical parallax scrolling. No controls.

Collision Testing / Mouse Scrolling "Charlie" Demo

The one shown in my previous post. Hover the mouse over tiles to see their collision bounds(see screenshot). Also use the mouse to scroll (like in Warcraft).

I've included the source to them all along with some helper functions I've made. The .tsp maps and their generated headers are there too. Also included is my plugin(.tsd) for converting maps to C headers, but it currently only outputs the tile indices, bounds and hex values. I still have to figure out how to do animations.

Sign in to follow this  


Recommended Comments

What's this? Tabbing in your source??

Cool stuff, they all work perfectly here.

Have fun being busy.

Share this comment

Link to comment

What's this? Tabbing in your source??

You see once their was another Scet.

An evil Scet that didn't format his code.

So I killed him.

Share this comment

Link to comment

Doesn't look that hard to port! [wink]

Once I get the time, I'll try porting it to C# and SDL.NET. Very nicely done, Scet. I love you.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!