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
4
votes
1 answer

How to integrate AdMob ads in the latest MonoGame Android (XNA)?

I have spent the last couple days researching AdMob integration for MonoGame Android and so far have not been able to successfully add a banner to the game I just made. All of the answers I have found so far are terribly outdated and none of the…
Felipe
  • 10,606
  • 5
  • 40
  • 57
4
votes
2 answers

MonoGame - Project Layout and Structure (Architecture)

So I am trying my hand at some new skills, and want to build a simple game. I am C# programmer by occupation and as with all projects, be it web or forms development, they all have some sort of structure to it. I like doing things right the first…
stoic
  • 4,700
  • 13
  • 58
  • 88
4
votes
1 answer

AndroidGameView + GC_MINOR

I have a fairly complex OpenGL based app which uses AndroidGameView for setting up the drawing contexts, etc. I noticed that at some point in the past (it was not always like this) that I started getting constant GC_MINOR messages in the console…
safwanc
  • 3,351
  • 2
  • 15
  • 20
4
votes
6 answers

MonoGame Key Pressed String

In MonoGame, how can I read which keyboard key is pressed in the form of a String? I have tried String pressedKey = Keyboard.GetState().ToString();, but it gives me "Microsoft.Xna.Framework.Input.KeyboardState".
Evorlor
  • 7,263
  • 17
  • 70
  • 141
4
votes
2 answers

Collect iOS currency symbols for bitmap font?

My app is displaying the price of an in app purchase product. How can I (at design time) enumerate all the currency symbols and characters used in all of Apple's international app stores? I am displaying text in my app using "texture atlas" based…
4
votes
1 answer

Collision Detection between two textures in XNA

I am making a game for windows store using monogame implementation of XNA where in, I am applying a flick gesture to move an object around the screen. Here is the code I wrote in the Update method for flicking and updating the position and velocity…
A.K.
  • 3,321
  • 1
  • 15
  • 27
4
votes
1 answer

Compiling shader for MonoGame

I'm using VS 2013 to and trying to get a pixelshader to work properly. I've had this shader working in XNA 4 so I'm pretty certain it's ok. I'm trying to compile the shader using the 2MGFX tool Just running 2MGFX.exe AlphaMap.fx…
JensB
  • 6,663
  • 2
  • 55
  • 94
4
votes
1 answer

Are MonoGame games capable of running without being installed?

I am writing a game for a competition and we must create games that run directly off of a CD, without installing any components on the computer. MonoGame looked like a good candidate because it's cross platform and I would like to use C# , but I…
Oztaco
  • 3,399
  • 11
  • 45
  • 84
4
votes
1 answer

Create Backgroundthread Monogame

I made a game for Windows 8 in monogame but running into a problem. We finally got our hands on a Surface RT but we noticed that the loading times are really long on this device. We looked at several other games and noticed that this wasn't an…
MrME
  • 337
  • 2
  • 14
4
votes
1 answer

MonoGame Platform Agnostic Input/Output

I've done a bit of XNA work, and I'm now trying to work in MonoGame. Previously, for all my input and output needs, I used Microsoft.Xna.Framework. I'm now trying to make one version of my game to deploy on as many platforms as possible (excluding,…
River Tam
  • 3,096
  • 4
  • 31
  • 51
4
votes
2 answers

Monogame Windows 8 error - Deployment failed because an app with target platform ARM cannot be deployed to Emulator

When i try and run the emulator I'm getting the following.... Deployment failed because an app with target platform ARM cannot be deployed to Emulator 720P. If the target platform is win32/ x86, select an emulator. If the target platform is ARM,…
Mantisimo
  • 4,203
  • 5
  • 37
  • 55
4
votes
3 answers

Unable to add DLL reference in Windows Phone 8

I am attempting to port a game to Windows Phone 8 with Visual studio 2012 and monogame. The problem is that I cant seem to add the DLL required, the error is "A reference to a higher version or incompatible assembly cannot be added to the…
Daniel Filipe
  • 308
  • 1
  • 7
  • 14
4
votes
1 answer

MonoGame on linux failing to load effect assets

EDIT: The issue is now solved, I'm including the details here to help anyone else who runs into this, as it's not that simple to solve. Basically, it comes down to updating using the develop branch. The first step is to checkout the monogame develop…
4
votes
1 answer

Exit MonoGame game and give control to MonoTouch controller

I have MonoTouch controller, where I launch my MonoGame game. So I'm leaving my UI and entering the game like so: Game game = new Game(); game.Run(); I'm having problem with ending the game and going back to my XCode UI in MonoTouch Controller.…
Max
  • 211
  • 3
  • 7
4
votes
2 answers

Porting Windows Phone game with Xamarin

I currently have a very simple memory game for Windows Phone that I would like to port over to iOS, Android and possibly Win8 using Xamarin tools. I would like to centralize my business logic in one assembly and simply create the UI for each…
Andy T
  • 10,223
  • 5
  • 53
  • 95