Sign in to follow this  

I'm having trouble with Pong. (In C# w/ XNA)

This topic is 2129 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Here's the Code that I have - http://minus.com/mbcQLsTV0W#1o

I used the Polymorphism example from this - http://www.xnadevelopment.com/tutorials/thestateofthings/thestateofthings.shtml

This is the error - [img]http://i.minus.com/ir04wGYvIjcQU.png[/img]


Here's the original code - http://minus.com/mblRH5Hn7w#1o

This one doesn't have the menu system.


Anyone capable of helping me figure out the problem?

Share this post


Link to post
Share on other sites
The following is part 1 of a 7 part pong XNA tutorial. Maybe it will get the grease warm.


[code]http://www.youtube.com/watch?v=-ZXSZRHM33I&feature=relmfu[/code]

Share this post


Link to post
Share on other sites
The error message you're getting gives it away pretty clearly. Your Content object has already been created, so you can't change its root directory. I bet if you commented out that line it would work.

Share this post


Link to post
Share on other sites
Sign in to follow this