Wrox Programmer Forums
| 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 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 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!





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





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