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
5 answers

ContentLoadException in MonoGame

I've been trying load a texture in MonoGame using Xamarin Studio. My code is set up as below : #region Using Statements using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using…
FlameDra
  • 1,807
  • 7
  • 30
  • 47
4
votes
1 answer

Video Class exist in two libraries

In my Monogame project I need to play a video. For this I use Video Class and VideoPlayer class. But when I start solution, VS give me this error: Error 1 The type 'Microsoft.Xna.Framework.Media.Video' exists in both 'c:\Program Files…
Dino Sauro
  • 167
  • 2
  • 2
  • 9
4
votes
2 answers

Sound not playing on iOS device but working in iOS simulators

Using the latest Monogame source 06/03/13 from GitHub, my game is playing sound effects just fine when run in the ipad/iPhone simulators (in OSX on VMWare), but when i deploy/debug it to an iPad 4 there is no sound at all. In the application output…
mdev
  • 131
  • 7
4
votes
2 answers

Unable to find an entry point named 'glBindFramebuffer' in DLL 'opengl32.dll'. in MonoGame 3.0

Recently I install MonoGame 3.0 on my Laptop. I took a band New "MonoGame Windows OpenGL Project" from project template and try to run it and i got this exception. Unable to find an entry point named 'glBindFramebuffer' in DLL 'opengl32.dll'. The…
Hasanuzzaman
  • 1,822
  • 5
  • 36
  • 54
4
votes
2 answers

Integrate Admob in iOS App which uses monogame

I am trying to do this for a few days, and still cannot make it. And I tried to find some samples but they are all on Android. Did anyone succeed to integrate admob on iOS?
4
votes
1 answer

NullReferenceException on creating an instance of an inheriting class

I am writing my own game engine in XNA and started to port it into MonoGame so that I can put it on Android/iOS/Windows 8. For some reason I am getting a null reference exception when the main create a new game object. So the code that allocates the…
Serguei Fedorov
  • 7,763
  • 9
  • 63
  • 94
4
votes
1 answer

Porting Game using MonoGame to OS X: Strange color issue

I have my game project running in MonoDevelop using MonoGame on OS X, but the colors in the game are very mixed up. For example, yellow is shown as blue. What could be causing this? My game is ported from XNA. The android and iOS ports don't have…
4
votes
1 answer

Error message when building default iOS solution in with monogame

Does anybody know why I get the following error message when I try to build the default "MonoGame.Framework.iOS.sln" on Monotouch? And how I can fix this? : on line 468 of the Guide source file (From…
Sonia Brami
  • 127
  • 1
  • 1
  • 10
4
votes
1 answer

Why is XNA not supported in vs2012?

Possible Duplicate: How to install XNA game studio on Visual Studio 2012? I would like to make an game application in xna. But after purchasing vs2012 (bought it for almost 800 dollar!!) i can't use the xna game studio environment! That's crazy…
RocketRon
  • 105
  • 1
  • 2
  • 5
4
votes
1 answer

Set Monogame window position (OSX)

How can I set the position of a game window that I've created in Monogame on Mac OS X? I've seen this question but it doesn't work: apparently there is not handle for the window. I'm thinking I might be able to do it with MonoMac somehow... Thanks!
Jwosty
  • 3,497
  • 2
  • 22
  • 50
3
votes
1 answer

XNA (MonoGame) world space and object movement

I just started with 3D coding in XNA and am trying to get my head around a few things. My goal with XNA is to make a space sim game (original, I know) I am able to draw models and my camera is working as I'd like it to, where I am running into…
3
votes
1 answer

MonoGame - Tiling Texture2D with SpriteBatch on iOS

Right now I'm tiling a Texture2D with 2 for-loops similar to an example from the MonoGame samples. I was doing some reading, and I was seeing that using power of two textures (2, 4, 8, 16, 32, etc. on width & height) can be tiled with one…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
3
votes
1 answer

MonoGame and MonoTouch on iOS - Landscape Orientation

We are using MonoGame to develop for iOS and Windows Phone 7 (and then eventually Android). Our game runs only in landscape orientation. If running in the WP7 emulator on windows, our graphics device setup like so, in Initialize() in our…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
3
votes
1 answer

Setting target field values

I'm making a game, in which I have various fields that I'd like to set target values for. For example, my Camera class has: public double zoomLevel Currently, if the zoomLevel is (say) 1.0 and I'd like to increase it gradually to (say) 2.0, I have…
Rich. T.
  • 53
  • 1
  • 1
  • 4
3
votes
0 answers

C# spritesheet shows adjacent tiles when sourcerect is exact

Ok so my problem is that: this shows a small outline between tiles that isn't there on the spritesheet I've tried adding a space between tiles on the spritesheet, it just changed the outline from the adjacent tile to a slightly lighter version of…
Kogsey
  • 31
  • 3