Jump to content
  • Advertisement
Sign in to follow this  
Slateboard

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

This topic is 2375 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 - ir04wGYvIjcQU.png


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
Advertisement
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  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!