Wrox Programmer Forums
|
BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6
This is the forum to discuss the Wrox book Professional XNA Game Programming: For Xbox 360 and Windows by Benjamin Nitschke; ISBN: 9780470126776
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 4th, 2007, 06:42 PM
Registered User
 
Join Date: May 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 2

Am i just tripping or is there no pongbackground.dds?
matter of fact, I don't see anything that ends in dds.
the other two graphics I found but they were in png format.

Im using Vista if that makes a difference

Thanks in advance

 
Old May 5th, 2007, 08:52 AM
Registered User
 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You need to drill down into the zip file a bit. It looks like the name of the file is different, but if you look in:

Chapter2.zip\Files for Chapter 02\XnaPong_Code.zip\XnaPong

You'll find "SpaceBackground.dds" which looks just like the picture in the book.

Casey

 
Old May 5th, 2007, 10:25 AM
Registered User
 
Join Date: May 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ah, i did see that, but I didn't see the extention. it said direct draw surface.
Duh... Guess that's what happens when you don't sleep

Thanks

 
Old May 5th, 2007, 08:47 PM
Registered User
 
Join Date: May 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey.. it's new to me to know that dds = directdraw surface.. thanx

 
Old May 7th, 2007, 11:12 PM
Wrox Author
 
Join Date: May 2007
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to abi.exdream.com
Default

Yep. Most textures from the book are in the .dds format (there are importers for most graphic programs available) just because it is the most compact format for the graphic card hardware. Some earlier chapters also have .png files, if they just use uncompressed sprites (because .png can be smaller than uncompressed .dds). No matter which format is used, the compiled textures always will be .xnb files and theirfore you will not find any useable textures in the compiled games, always look in the source code and content files for the textures ^^

http://abi.exdream.com
 
Old January 5th, 2008, 06:27 PM
Registered User
 
Join Date: Jan 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to firefoxmsp
Default

im having trouble getting spacebackground to even work. it fails the debugger and i put it in the solution explorer too.

yeah i took CityGroundSmall.jpg and added it to my Pong game in SolExpl. just to see the properties and i didnt see the asset name, cont importer and preprocessor. this is getting real annoying





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2 - End of chapter exercises whizzkid1892 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 July 30th, 2008 12:02 PM
chapter 7 - chapter 11 pelopito BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 3 January 6th, 2008 11:40 AM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM





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