-
HI Chad, There is some code: if (_gamePadHandler.WasButtonPressed(0, ButtonType .Back)) needs to be: if (_gamePadHandler.WasButtonPressed(0, Buttons .Back)) Cheers Chad.
-
Yes, we should most definitely call the DrawRectangle code inside of the Draw method and not the Update method. It will work, but definitely shouldn't be there. The code has it right, I just wrote the wrong method when writing the book. Thanks!
-
The first call shouldn't have had the last parameter as an out, but rather used the return value. Those test measures were just examples to build off of. I appreciate you letting me know about the issue. I'll make sure to update the errata. Thanks, Chad
-
Also needed for Chapter 22. I haven't read the later chapters yet, so don't rule out the need in more chapters?
-
I'll update the errata to include this same fix for Chapter 20, but you can grab the Chapter9 fix code and that should correct it. I'm not near the code currently and can't confirm if that is all that is needed, but basically anywhere you see "InputHandler.ButtonType." replace it...
-
First, thanks for the compliment on the book. I'm glad you are liking it. I hope it helps. Second, sorry for taking so long to respond. Third, you are exactly right. It should be Buttons.Back. I'll update the errata to have the same text I have for Chapter 9 put into Chapter 7: With the change...
-
Hi, The cd that came with the book does not include a Sounds directory with wav files in it. When I downloaded chapter7fix the corrected versions were the same as on my cd but did not include any sound files. Tried to download the version from the web copy of the cd but it appears to be an older version...
-
Hey Chad, Here are some errors I found today while working them through with a class. I found it strange that I didn't catch it before. Page 98: The code referred to at the bottom of the page should be in the demo's Draw method, not the Update method. Pages 99 - 103: Code samples are using the...
-
I forgot to change the code from my 1.0 book. The custom method I had there can be replaced with the built-in XNA Game Studio 3.0 Matrix.Decompose method. The Decompose method extracts out a Matrix that contains rotation, scale and translation into its own components. Here is a link to the help page...
-
Hi Chad, Good to see you finally made that forum. I have been trying to find a wya to reach you, but without succes until know. The only contact method this site was offering was through xbox live, but being one of those developers without an xbox, it was useless to me. I tried sending you a private...