Archive for the ‘Programming’ 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 [...]
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 [...]
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.
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 [...]
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 [...]
Yesterday I wrote an article about creating a rotating video player using Silverlight 3 (see here) and I admit that there was an awful lot of text in it, so here is a list of numbered steps for you to follow with less of the rambling in between steps.
Yesterday at work, there was a talk about Silverlight 3 about its capabilities and the improvements over Silverlight 2. The talk featured demonstrations of existing applications and some step by step “how to” tutorials in which I saw how to rotate controls in 3D space and a cool Twitter reader which was made surprisingly quickly; albeit [...]
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 [...]
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 [...]
Something I have played with for a little while is the idea of creating more complex session variables in PHP. I’m sure this kind of thing has been done before so this is probably nothing new to some people. The idea just came into my head a little while back and I decided to give [...]
