Thought for the Dazed

I've had to give up that Distance Learning course as I was having trouble seeing the teacher.

Flickr
www.flickr.com
RobMiles' items Go to RobMiles' photostream
Twitter
C# Yellow Book

Search entire site
« Bill Gates at Shoe Circus | Main | So Much for the Weather »
Sunday
Sep072008

Zune Power

I've been playing with XNA on Zune, porting a little sprite toolikt from StarLight onto it. For those of you who haven't played with the Zune, it is basically an ipod that you can run XNA on. I managed to get 400 sprites with transparency bouncing around quite happily. I'll post the code on VerySillyGames when I've finished, but this means that you can get quite complex displays on the tiny platform with no problems at all.

Reader Comments (3)

When porting a game to the zune, is it advised to have all of your code and game scalable, main reason is people have different screen sizes, so for this reason is there a command that allows the coder to reference teh width and height of the screen its displaying on ? like...

this.Height;
this.Width;
September 8, 2008 | Unregistered CommenterJDog
Ah. I did all this in the original code. I have methods that do the scaling for me. I just say things like "I want this sprite to be a 15th the width of the display" and it scales and preserves the aspect ratio. That meant that I could move the code with minimal changes. I cover this in the book as I remember.
September 8, 2008 | Registered CommenterRob
Ok, that'll be something to look forward too. Its arrived at Waterstones aswell, so I simply need to go and pick it up.
September 9, 2008 | Unregistered CommenterJDog

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.