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

Could not load MonoCube asset as a non-content file

recently I have taken up MonoGame and starting out with learning 3D games programming, following some online tutorials on how to add 3d models I got the following code made that should display a 3d cube and a camera I control to pan around…
jayelj
  • 47
  • 6
0
votes
1 answer

Monogame/C# - Mouse position flickering

I am having some problem with mouse position in MonoGame and I can't really figure out what I am doing wrong. I want the game window to be at the position of my cursor, so I made this simple line: protected override void Update(GameTime gameTime) { …
NewBoy
  • 5
  • 3
0
votes
2 answers

Monogame imported Blender .FBX unaffected by lighting

I recently upgraded my old Monogame project to the latest version of Monogame. Everything is running as it used to, however, my imported .FBX models are appearing as pure black (implying that they're not being lit up). (The burgers+tapes are made…
Milun
  • 91
  • 1
  • 7
0
votes
1 answer

360 FOV depth buffer by topology and 2D shadows with multiple lights

Just implemented the idea with multiple lights (idea without multiple lights is here 360 FOV depth buffer by topology and 2D shadows), however i'm not sure if its correctly rendered http://www.youtube.com/watch?v=bFhDiZIHlYQ , i just render each…
Oleg Skripnyak
  • 301
  • 2
  • 13
0
votes
1 answer

Fix for MonoGame model stretching

I've recently been working with MonoGame's content pipeline importing custom *.fbx models. I was hoping for some insight as to why the models I'm rendering in the 3D world are being skewed, and if there is a possible fix. Skewed model Image in…
nate6631
  • 1
  • 4
0
votes
1 answer

Monogame: "could not load fbx model asset as a non-content file"

I recently changed operating systems on my laptop (went from 8.1 to Windows 7). I transferred my game project, and after having to rebuild it (due to Visual Studio 2013 stating it cannot open my project file), I managed to get it to run, but as soon…
Milun
  • 91
  • 1
  • 7
0
votes
1 answer

Visual Studio 2015 MonoGame: Cannot find Texture2DReader

This line of code backgroundImage = Content.Load("Backgrounds/titleScreen"); Causes this error An unhandled exception of type 'Microsoft.Xna.Framework.Content.ContentLoadException' occurred in Microsoft.Xna.Framework.dll Additional…
Jake
  • 337
  • 1
  • 3
  • 15
0
votes
2 answers

Error deserializing XML exported from BMFont tool

I am trying to use the following example: http://www.faqstackoverflow.com/answered/using-a-bmp-image-as-font-in-monogame The concept seems sound. I'm using a .fnt generated by the suggested tool. It looks properly formatted and makes sense based on…
user3421630
  • 48
  • 1
  • 8
0
votes
2 answers

Executing Protobuild.exe on Mac "command not found" issue in terminal

I'm trying to build the development branch for Monogame and it instructs you to execute "mono Protobuild.exe" to create the solution files. I downloaded the github branch and in the terminal navigated to the file that the Protobuild.exe exists and…
Ben Krueger
  • 1,476
  • 1
  • 14
  • 20
0
votes
1 answer

Monogame android: How to load XNB model from stream or web service?

I am working on Monogame for Xamarin Android project. Anyone know how to load a XNB model which was created from a web service? Basically my web service will return a XNB file and Android device should be able to get that file to display 3D model…
Minh Nguyen
  • 2,106
  • 1
  • 28
  • 34
0
votes
1 answer

What is the better way to do a graphics module in my game

I'm refactoring a lot of stuff in my game, And through CodeReview it's come to my understanding the I'm making the graphic module entirely wrong. And by that, I mean making the all modules know the UI instead of making the UI know all…
Giora Guttsait
  • 1,279
  • 15
  • 29
0
votes
2 answers

How to delete specific non-unique object in list without knowing its index

I'm using MonoGame to make a little game as practice. you're a ship and shoot asteroids with bullets. I have an object that I can shoot and then it explodes into a bunch of bullets, it all works except for the removal of the original bomb object. I…
0
votes
1 answer

Monogame 3.4 - Effect throwing "InvalidOperationException: An error occurred while preparing to draw."

I'm trying to draw a fullscreen quad with a shader applied to it, but I keep getting the following error when drawing: An error occurred while preparing to draw. This is probably because the current vertex declaration does not include all the…
edkek
  • 221
  • 1
  • 10
0
votes
0 answers

Convert PNG file to XNB

Hi I am trying to convert PNG file to XNB to use in the example program, Breakernoid project. I have used XNA Formatter to convert .png to .xnb but 72kb file has created 2Mb .xnb file. That itself is a red flag to me. Basically I just want to…
Up-In-Air
  • 111
  • 4
0
votes
1 answer

Flipping character

I would like to flip character when it walks left\right, I created a character from different body parts so flipping each of them caused this: the reason of course was because it flipped the body parts in their own position, but not all the player…
SpoocyCrep
  • 604
  • 7
  • 23
1 2 3
99
100