Troubleshooting this TutorialSometimes, even though you try hard to understand the information in a tutorial, things don't work out quite like you want it to. This page is here to help you resolve any problems you might be having with the Introduction to 2D Graphics tutorial. The Common Mistakes section describes common problems that people have when doing the things in this tutorial, and how to resolve them. The Frequently Asked Questions section describes questions that people have that aren't related to mistakes, but rather, trying to understand the stuff better or exploring how it can be used. If your problem or concern isn't addressed here, feel free to add a comment below, so that I know where you're having trouble. I like to keep these pages fairly clean, so I may remove comments that I felt like have been addressed. If I remove your comment and you don't feel like the problem has been fixed, repost the question and we'll take another look at it. If a tutorial has a mistake in it, I will fix the mistake and reply to the comment with a brief explanation. However, after a couple of weeks I'll likely go back and remove the original comment as well as my reply, because, hopefully, the problem will have been fixed, and it won't be a concern any more. |
Common MistakesNone listed yet… |
Frequently Asked QuestionsNone listed yet… |


I think you made a mistake about the x-axis
"The x-axis starts at 0 there, and goes left"
I'm sure it goes right, right? :P
Yes, you are right. It's fixed now.
On the content load section I'm getting the error:
'Microsoft.Xna.Framework.Content.ContentLoadException' occurred in MonoGame.Framework.dll
I believe I have entered it correctly, I was wondering, can a college system restrict access to calling files and cause this error?
Yeah, potentially, but I'd have to guess that's probably not what's going on here. The game is simply reading a file (the content file/asset). It was likely generated by you at compile time (so you should have rights to it) and the actual .exe of your game seems to load fine. The .exe file is the more realistic threat to a computer, so it seems like if they were blocking anything, you'd see it at that point, not when you load the content.
So while it's theoretically possible, I think other things are more likely causes.
One starting point is to go find the actual .exe file for your game that Visual Studio is running. It should be under your project in the bin directory, probably under x86 and Debug or something like that (depending on the options you used when compiling). Make sure that you see the asset file sitting there somewhere.
Does the exception show any additional details in the message that might be useful here, aside from just the type of exception (ContentLoadException)?
Post preview:
Close preview