p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional Windows Phone 7 Game Development: Creating Games using XNA Game Studio 4 (http://p2p.wrox.com/forumdisplay.php?f=626)
-   -   InputHandlerDemo Crashing (http://p2p.wrox.com/showthread.php?t=84796)

karpar August 20th, 2011 11:07 PM

InputHandlerDemo Crashing
I just completed all of the code in Chapter 5 to create the InputHandlerDemo, but every time I try to run it on my phone, the screen goes blank for a few seconds before crashing back to the start screen. I used WinMerge to compare my code with the source downloaded from this site, and as far as I could tell, all of the differences were cosmetic (extra spaces or line breaks, misspellings in comments). Just to be on the safe side, I copied the source code version over my code, but it's still crashing. Has anyone else run into this?

karpar August 20th, 2011 11:13 PM

D'oh! I was missing Display.spriteFont. That fixed it.

All times are GMT -4. The time now is 06:39 AM.

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