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 July 10th, 2007, 04:05 PM
Registered User
 
Join Date: Jul 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fixing the 'blank' screen problem

I notice a few people are having problems with running the sample code. I experienced the same problem with SimpleRacer running on the 360. It's pretty simple to fix though!

There are two files which appear to be 'missing' when the game runs. These are "AlphaDeadTree.X" and "TrackSimple.Track". Both are in the content folder but are not added to the 360 project and as a result are not deployed to the xbox - hence file not found.

Right-click on the content folder and select 'Add Existing Item' and then choose "AlphaDeadTree.X" from the content folder on disc.

To add "TrackSimple.Track" is a slightly different process. Choose 'Add Existing Item' as before but in the file selection dialog, change the 'File Type' dropdown to 'All Files' then locate and add "TrackSimple.Track". Once added, you need to right-click on "TrackSimple.Track" to access it's properties. Then change its "Build Action" to "Content" and select "Copy If Newer" from the "Copy To Output Directory" option.

I suspect any other blank screen problems are caused by this and I recommend people run these examples in DEBUG mode FIRST! That way, you get to see the error messages which occur at two points where files are loaded. By hovering over the filenames these sections are trying to load, you can see what you are missing and probably locate it in the content folder.

Hope this helps!

 


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
problem with iframe /and full screen fanoatahina Javascript How-To 4 May 29th, 2011 04:29 AM
Problem with blank fields in Shipping Address radrussell BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 November 23rd, 2009 11:57 AM
Another case of the Blank Screen emor BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 0 June 25th, 2007 06:28 PM
Screen width problem rajanikrishna HTML Code Clinic 2 October 25th, 2005 08:01 AM
MAP - Problem with screen resolution tgopal HTML Code Clinic 1 September 1st, 2004 10:28 AM



All times are GMT -4. The time now is 04:18 PM.


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