p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 (http://p2p.wrox.com/forumdisplay.php?f=325)
-   -   the Figure 1-3 confused me (http://p2p.wrox.com/showthread.php?t=57630)

EdwardChou May 8th, 2007 10:48 PM

the Figure 1-3 confused me
 
The Figure 1-3 on page 6:
"Microsoft.Xna.Framework.Pipeline.dll" appears three times.

Should the upper one be "Microsoft.Xna.Framework.dll"?
Should the middle one be "Microsoft.Xna.Framework.Game.dll"?
Should the lower one be "Microsoft.Xna.Framework.Content.Pipeline.dlls"?(H ere I typed a "s" after "dll", because the text above the figure have. I'm not sure if it is also an error.)

abi.exdream.com May 8th, 2007 11:24 PM

This could be a naming issue. As far as I can remember the dlls were named differently in the XNA beta. When I got the book myself I will check it out and make sure this gets corrected. I have to say I'm confused myself right now :)

http://abi.exdream.com

EdwardChou May 9th, 2007 01:30 AM

Thank you. :)

And in page 21
the code, in this loop is:
Code:

for (int y = -1; y <= resolutionHeight / backgroundTexture.Height; y++)
and the sample code in the book site is:
Code:

for (int y = -1; y <= resolutionHeight / backgroundTexture.Height +1; y++)
I thought maybe the typist made a mistake herer.



abi.exdream.com May 12th, 2007 05:48 PM

It makes sense because I changed the way the tiles are rendered later. I made sure the last tile (+1 one) is never visible because it always goes from -1 to the max. tile +the scrollPosition. See the other thread for more details about this (its called Chapter 1 something).

http://abi.exdream.com


All times are GMT -4. The time now is 06:00 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.