Archive for the ‘C#’ Category

This is just a quick article to share a nice way to create a camera for 2D games.  There are a couple of ways to do this; I originally did it by making a class that held a position for the camera and then subtracting the object and camera positions when drawing to offset the [...]

  • Digg
  • StumbleUpon
  • Delicious
  • Twitter
  • Share/Bookmark
Tuesday, August 31st, 2010 at 13:30 0 comments

I was recently working on a project in Silverlight and required the ability to toggle between two states in a UserControl.  When I started working with Silverlight, I would have handled click or mouse events to change the visual state but I soon moved on to work with behaviours and actions so I could remove [...]

  • Digg
  • StumbleUpon
  • Delicious
  • Twitter
  • Share/Bookmark
Wednesday, May 19th, 2010 at 21:12 0 comments

For a little while now I’ve had a bit of interest in the Model View ViewModel (MVVM) pattern for Silverlight and WPF so I thought I would finally give it a go and see if I could get an understanding of how to use this pattern.

  • Digg
  • StumbleUpon
  • Delicious
  • Twitter
  • Share/Bookmark
Sunday, May 16th, 2010 at 18:26 3 comments

As far as I am aware, the accelerometer code here is the same as would be used for the new Windows Phone 7 devices. My Zune HD arrived last week and after getting over the initial disappointment of a disgracefully empty marketplace for it, I was really itching to try out some XNA and play [...]

  • Digg
  • StumbleUpon
  • Delicious
  • Twitter
  • Share/Bookmark
Saturday, October 24th, 2009 at 20:29 1 comment

Having created my own first person camera, I moved on to creating some 3D terrain for my game.  I have to admit, I cheated on this a bit and just used the custom content pipeline from the XNA Creators Club’s generated geometry sample found here.  For this reason, I currently do not fully understand the [...]

  • Digg
  • StumbleUpon
  • Delicious
  • Twitter
  • Share/Bookmark
Sunday, August 30th, 2009 at 16:06 0 comments

As I previously mentioned, I plan on updating this blog with my experience of learning 3D XNA and hopefully be able to help out others doing the same as well as receive a bit of feedback and advice on how to improve the work I have done.  The first section I began working on was [...]

  • Digg
  • StumbleUpon
  • Delicious
  • Twitter
  • Share/Bookmark
Thursday, August 27th, 2009 at 21:01 2 comments

I’ve been doing 2D XNA for about a year and a half now and I feel I’m fairly competent at it, largely due to my experience in the Imagine Cup, so over this past week or so I’ve begun working on my first 3D XNA game.  I’ve had the concept for the game in my [...]

  • Digg
  • StumbleUpon
  • Delicious
  • Twitter
  • Share/Bookmark
Thursday, August 27th, 2009 at 19:12 0 comments