XNA Essentials

Game Programming for Xbox 360, PC + Windows Phone



What licensing should be used for code examples from this book and on the CD? The generic license on the CD sleeve is not very pertainent.

I will be modifying some of the code, but much of the structure will remain. This venture is not closed-source as it is for a simulation research project for my M.S.

Thank you.

malweth - Tuesday, June 23, 2009 @ 1:37 PM

Re: Licensing


Sorry it took me a while to respond. My day job has been very hectic over the last few weeks. 

In regards to the chapter source code you can definitely use the source for your research project. The intent is that the code with no changes isn't posted online. If you use entire files (which may happen if you want to use some of the XELibrary)  then you just need to insert credit in the source code files (please include the my name, the name of the book and the ISBN number of the book). Make sure to exclude any files that your project is not using. If you are using adapted code then you can simply include text stating that portions of the code was used and adapated from the book. The text can be included in your main game class code file

I'm glad you are finding the book a good resource. The main intent of the license is to keep people from taking the unaltered files from the CD and posting it online. I do not have a problem with people having opened source projects that use the code. There just cannot be an open source project where the code from the book is more than 70% of the code.

I hope this helps. If you need further clarification please let me know.




Chad Carter - Saturday, June 27, 2009 @ 10:29 AM