XNA Book Discussion > Source Files?

Hi Rob,

I've started reading through some of the chapters to get a feel for the XNA program and your book. You mention "source files" ex: 01_BlueScreen Directory, where can I find the source files?

Thanks
Dean
November 11, 2007 | Unregistered CommenterDean
Sorry. Source files are not up there at the moment.
November 12, 2007 | Registered CommenterRob
Hi, I just bought your book today. I am enjoying it greatly, and am actually currently working through your examples. I, too, am wondering where I can find these source files. I have encountered a spot in the book where you refer to course code, but don't actually show it here in the text (Chapter 2, ex:05 Ultimate Mood Light). Thanks!
May 31, 2008 | Unregistered CommenterChris
Hi. Glad you like the book. You can find the source files here:

http://www.microsoft.com/MSPress/companion/9780735625228/default.aspx

You might also like:

http://verysillygames.com/
June 3, 2008 | Registered CommenterRob
Hello. I bought and read your book and it is wonderful. I have been working in XNA 3.0 and I made a zune version of Pelmanism using your example. Some guys want to see it, and i was going to post the source code up for hosting. Is that fine with you.

Thank you very much for knowledge
June 24, 2008 | Unregistered CommenterAllan
Hi. Glad you like the book. I'd love to see a Zune version of Pelmanism. I reckon that the Zune is the perfect platform for such a game. If put it somewhere, let me know where it is and I'll link through from VerySillyGames (if you like I'd be quite happy to host it there - and give you full credit).
June 25, 2008 | Registered CommenterRob
want a .rar for the files? It is not quite done yet, but I will send it to you however you want. Really it is the same game, but I made the pictures the album art of the music on the zune, and pressing play on that album plays it. I just need to make sure that the album does not appear more than once in one game, and add a menu that works with the zune screen (240x320).

If you do host it I do not want any credit, you did all the hard work, and this is more or a port because i enjoyed it so much on the PC.
June 25, 2008 | Unregistered CommenterAllan
Oooh. Using the album art, what a clever idea. I'd love a copy of the files (although I'd prefer zip to rar). And you should get credit. You should always get credit...

I take it you are picking the album artwork at random. In this case I think the best way to do it would be just to keep a list of offsets into the album collection that you have used and check that list for duplicates each time you pick a new one. The range of values is quite large, and you don't need that many, so you won't get many clashes. If you like I'll knock out some code to do that bit.
June 25, 2008 | Registered CommenterRob
I have a somewhat working version of Zune Pelmanism. It turns out that the Zune is tons of fun to develop for.

I fixed the main things that i wanted to do:
I made a small method for checking duplicates. It appears to work, but is somewhat awkward.

Volume changing in the menu now works.

albums with foreign characters do not cause a crash

Main menu can now be read; however, it is user unfriendly

Still need to do:
better UI
Less memory usage and better start up times
Saved "best time" (tried using XMLs and i could not get it to work)


now how do u want me to get it to you.

Thanks again for your time. Your book has allowed me to learn so much about XNA.

June 26, 2008 | Unregistered CommenterAllan
Hi. Glad you are making progress. I've set up a drop box on the site:

http://www.robmiles.com/send-stuff-to-rob/

If you zip up the entire program you should be able to put it into there.

I'm going to set up something similer on Very Silly Games.
June 26, 2008 | Registered CommenterRob
I sent what I have to you. Sadly my computer is not working and I sent an old version of my code one from a memory stick on another computer. It has most of yesterdays additions but is lacking a few bug fixes; however, it still compiles.

Thanks for everything.
June 27, 2008 | Unregistered CommenterAllan