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 tutorial on using full screen mode. 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… |
When I switch to full screen, cursor lags. It has a very short response time, but not instant. Like I would be drunk :D
I use only 2 sprites yet (background and cursor). Cursor is animatedSprite.
How do i get full screen o Monogame?? s;
MonoGame has some bugs with this. With the DirectX-based version (the MonoGame Windows Project template) you can't make it full screen at all, and with the OpenGL-based version (the MonoGame Windows OpenGL Project template) you can only do it before the game loop has gotten started. (You can't do it in Update. Only in the constructor or Initialize, or maybe LoadContent (I didn't check).) Which means you currently need to decide whether the game is going to be fullscreen or not at the beginning. That stinks if you want your users to be able to change it mid-game. The only workaround would be to save the setting to a file somewhere and restart the game.
But the developers of MonoGame recognize it as a bug, and some day they'll fix it. The bug I linked to has a lot of discussion. It sounds like we might get it whenever the next version of MonoGame comes out, but I have no clue when that might be.
I would also love to know how to utilize fullscreen in MonoGame. graphics.IsFullScreen = true does not appear to work. Neither do the other tutorials I have followed.
Adam, I just answered Pablo's question and wanted to make sure you knew about it. I think Wikidot sends emails out when you get a response, but I don't think it sends emails for all responses in the thread. I just wanted to make sure you knew.
Post preview:
Close preview