. - C#, .Net Framework" /> Topicala Page Index Token

A Journal about the experiences I have developing little applications in C#, Perl, Html and Javascript and talking about things new things that I use. Always Geeky; Always Nerdy; Always poor Grammer!

I am a Software Analyst Developer working in Southport, England but living in Liverpool. I develop mainly in C# and ASP.Net. I have been developing comercial software for several years now. I maintain this site (hosted at SwitchMedia UK) as a way of exploring new technologies (such as AJAX) and just generally talking about techie geek issues. This site is developed through a host of Perl scripts and a liberal use of Javascript. I enjoy experimenting with new technologies and anything that I make I host here.

Quick Search

Web www.kinlan.co.uk

Saturday, September 30, 2006

XNA Parallax Demo Video

I have created a video to show you how easy it is to create great scrolling layers for your game in less than 3 minutes (including me making mistakes). 

The basic components of the parallax engine are four fold:

  1. the engine itself
  2. the layers
  3. the camera
  4. the scrollers.

The enigne co-ordinates the layers by using the camera and the scrollers.

The layers represent a repeating background.  The background posistion can be modified by the scrollers. 

The camera represents a view on the world, where ever the camera is the engine will know how to convert the posistion of the layers correctly so that the scrolling still works.

The demo film shows first how to create a simple scrolling layer that scrolls left to right, then later on in the video it shows how a developer can add more effects to the backgrounds, such as simple scrollers combined with an oscillator. 

Watch WMV.

Watch on YouTube.

Watch on Google Video

All of this was done with no code required!

I am always looking for suggestions on how to improve this project, so any feedback would be greatly appreciated.  You can leave feedback here, or on the forum [Discussions]

tags: , , , , , ,

Comments: [Add New]