Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 4th, 2007, 06:42 PM
Registered User
 
Join Date: May 2007
Location: , , .
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

  #2 (permalink)  
Old May 5th, 2007, 08:52 AM
Registered User
 
Join Date: May 2007
Location: , , .
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

  #3 (permalink)  
Old May 5th, 2007, 10:25 AM
Registered User
 
Join Date: May 2007
Location: , , .
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

  #4 (permalink)  
Old May 5th, 2007, 08:47 PM
Registered User
 
Join Date: May 2007
Location: bangkok, bangkok, Thailand.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

  #5 (permalink)  
Old May 7th, 2007, 11:12 PM
Wrox Author
 
Join Date: May 2007
Location: Hannover, , Germany.
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
  #6 (permalink)  
Old January 5th, 2008, 06:27 PM
Registered User
 
Join Date: Jan 2008
Location: binghamton, ny, USA.
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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 04:34 AM.


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