Questions tagged [monogame]

MonoGame is an OpenSource implementation of Microsoft's XNA 4 APIs that allows developers to build games that run on Android, iPhone, iPad, Mac OS, Linux, PlayStation Mobile (2D only), Windows 8 Store, Windows Phone 8, and OUYA, while reusing their existing XNA code that runs on Windows, Xbox 360, or Windows Phone 7. It supports both OpenGL and DirectX rendering.

MonoGame is an OpenSource implementation of Microsoft's XNA 4 APIs that allows developers to build games that run on Android, iPhone, iPad, Mac OS, Linux, PlayStation Mobile (2D only), Windows 8 Store, Windows Phone 8, Windows 10, and OUYA, while reusing their existing XNA code that runs on Windows, Xbox 360, or Windows Phone 7. It supports both OpenGL and DirectX rendering.

Recent versions of MonoGame includes a bundled content pipeline. This eliminates the need to use the XNA 4 Content Pipeline, which is not available for all platforms. The new MonoGame pipeline allows for management of assets completely independent of XNA.

Information:

Code:

Questions or Problems:

1862 questions
43
votes
5 answers

How can i install MonoGame into Visual Studio 2013?

How can I install MonoGame templates for Visual Studio 2013?
Juraj Mlich
  • 678
  • 1
  • 7
  • 15
34
votes
3 answers

Is MonoGame just XNA?

So I want to learn C# and XNA but after some research is came to my attention that XNA is apparently dead, and there is an alternate library called MonoGame which uses XNA framework. So, can I use XNA lessons/ tutorials for MonoGame or are the major…
Matthew
  • 489
  • 1
  • 6
  • 10
31
votes
5 answers

Is MonoGame reliable?

I'm looking for a cross-platform game development framework. MonoGame looks easy to learn and fast to develop, but I see most of the games featured at their page do not work, or have a lot of bugs. Can anyone explain if MonoGame is reliable for…
xus
  • 2,587
  • 8
  • 31
  • 44
22
votes
1 answer

AndroidGameWindow.SetDisplayOrientation NullReferenceException

I developed a game for Android using MonoGame & Xamarin. I incorporated BugSense into it and quickly started getting the following exception stack trace: System.NullReferenceException: Object reference not set to an instance of an object at…
user123
  • 632
  • 1
  • 6
  • 22
17
votes
1 answer

Is it possible to get "contextual" gestures in Monogame/XNA?

I am working on a multi-touch app using Monogame, where multiple users can work on a larger multi-touch screen with separate documents/images/videos simultaneously, and I was wondering if it's possible to make gestures "context-aware", i.e. two…
Lou
  • 4,244
  • 3
  • 33
  • 72
15
votes
1 answer

Mouse cursor is not showing in windows store game developing using monogame

I am developing a game for windows store (desktops) using monogame framework. everything else is working excellent except the Mouse cursor which is working well but not showing at time of playing game. protected override void Update(GameTime…
pravin
  • 454
  • 1
  • 6
  • 19
14
votes
2 answers

Windows Phone navigation buttons overlap with screen resolution

below you'll see a screen running in Windows Phone 8.1 one 2 devices. Both are claiming to have Viewport Width and Height of 800x480 however as you can see from the image the 635's nav buttons are overlapping the game area. I have checked various…
Paul Marques
  • 604
  • 4
  • 15
14
votes
2 answers

Monogame rendering text using Graphics.DrawString (instead of SpriteBatch.DrawString)

Is there any downside to using Graphics.DrawString to render a (rather static) bunch of text to an offscreen bitmap, convert it to a Texture2D once, and then simply call SpriteBatch.Draw, instead of using the content pipeline and rendering text…
Lou
  • 4,244
  • 3
  • 33
  • 72
13
votes
5 answers

XNA/MonoGame: Getting the Frames Per Second

I am trying to get the current FPS of my game, however I can only find methods that updates the FPS variable every second. E.g. https://github.com/CartBlanche/MonoGame-Samples/blob/master/Draw2D/FPSCounterComponent.cs and…
Jeff
  • 12,085
  • 12
  • 82
  • 152
12
votes
2 answers

Need help on monogame screen resolution and intersection

Currently in my game i want trying to move my object towards both x axis and y axis.As I also wanted to put it into center ,I have put a camera.Here is my Camera code- public class Camera { public Matrix transform; public Viewport view; …
uncle_scrooge
  • 409
  • 1
  • 5
  • 28
11
votes
3 answers

How to start in full screen in Monogame?

I'm developing a game using Monogame and C#. I have a wpf application for the menu that starts in full screen. When I click on play on the menu, I go to the Monogame project. How can I start the Monogame solution in full screen like I do with the…
Dino Sauro
  • 167
  • 2
  • 2
  • 9
11
votes
4 answers

How to draw the border of a square?

I'm using monogame (which uses the XNA API interface) to write my game. So far it is great, but I have hit a snag on something that should be simple. I need to draw a 2d square. But I only want the border (No fill). I have seen many examples that…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
10
votes
4 answers

Is it possible to use monogame in VS code?

I am using an iball notebook and I don't have enough memory to install Visual Studio. I am having no problems using VS code and i am able to make and create executables of my console applications. I need to learn game development but everyone keeps…
AzuxirenLeadGuy
  • 2,470
  • 1
  • 16
  • 27
10
votes
2 answers

Remove iOS 7 Status Bar

I am developing a game for iOS using Monotouch and MonoGame, and I need to make the game full screen, without the status bar. In iOS 6 this was not a problem, but in iOS 7 I cannot figure out how to disable the status bar. I have found results on…
weaverx9x9
  • 495
  • 6
  • 17
10
votes
4 answers

Visual Studio 2012 How to debug "Unable to add reference to project x" error?

In Visual Studio 2012 in a blank new Class Library I am trying to add reference to an existing project in the solution, also a Class Library, MonoGame.Framework.Windows8 (https://github.com/mono/MonoGame), but get the error: Unable to add reference…
markmnl
  • 11,116
  • 8
  • 73
  • 109
1
2 3
99 100