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 June 25th, 2007, 06:28 PM
Registered User
 
Join Date: Jun 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Another case of the Blank Screen

Hi,

Fantastic book by Ben by the way. I have been a user of his blog site for quite a long time. Hard to find any better, really... I put him in the same category as Andre' Lamothe and that's two of a kind...

Anyway, I am also getting a blank screen on the key games I want to test (XNA Shooter and the racing games) but, unlike previous posters I am getting the blank screen on the XBox 360. Everything runs well on Windows (I am running everything on Vista without any problems.)

On the XBox 360, I debugged the program, let's say XNA Shooter though I see this problem with all games whether the code from this site or the ones from XNAProjects. Upon debug, I see an exception. It is failing to load content files for a few of the PNG images. I noticed that these images are not added to the C# project and thus are not built and deployed so this explains the problem. The files (say, ItemHealth.png as one example) are not on the xbox though they are on Windows (on the right folder).

So I assume Ben, for some reason, is loading these files directly from code (I did not check I just assumed since the thing works fine on Windows).

The question I have is this: how do I deploy the missing files to the XBox 360 since they are not being deployed automatically as part of the build/deploy process? (I have tried to add the files to the projet but this does not work. I get a build warning that the assets were added twice which seems to contradict my theory in fact but that's what I see if I add the png files to the project. If I ignore the warning the files are not deployed either anyway so it is looking like "user error" on my part)...

I am pretty certain the missing file(s) is the problem. The error I get through the debugger is pretty obvious (or else, I am indeed missing the obvious...) but I also assume other people have run these successfully on the 360 so perhaps I am turning senile :)

thanks for any comments.
 


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
how can clear the screen the screen malli_kv2 BOOK: Beginning Java 2, JDK 5 Edition 4 January 17th, 2009 12:43 AM
Fixing the 'blank' screen problem cannontrodder BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 0 July 10th, 2007 04:05 PM
Draw on the screen without clearing the screen pu132 Visual Basic 2005 Basics 0 August 25th, 2006 09:03 PM
search string either Upper case or lower case rylemer Beginning VB 6 3 March 24th, 2004 04:23 PM
Check Case in a Case-Insensitive DB nbryson SQL Language 1 January 23rd, 2004 07:36 AM



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


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