Implementation of Microsoft's XNA 4 APIS for Android, iOS, MacOS and Linux.

learn more… | top users | synonyms

0
votes
0answers
205 views

Best way to go about sorting 2D sprites in a “RPG Maker” styled RPG

I am trying to come up with the best way to create overlapping sprites without having any issues. I was thinking of having a SortedDictionary and setting the Entity's key to it's Y position relative ...
2
votes
1answer
434 views

Xbox Controller Not Connecting in Monogame Project

I have recently been playing around with the support of the wired XBox 360 controller in Windows development. I am developing in C# in Visual Studio 2012. I have created 2 projects. The first ...
0
votes
1answer
185 views

C# Collision Math Help

I am making my own collision detection in MonoGame. I have a PolyLine class That has a property to return the normal of that PolyLine instance. I have a ConvexPolySprite class that has a List ...
0
votes
1answer
92 views

IOS monogame 17 seconds debug timeout

I'm trying to debug a monogame application using xamarin studio and breakpoint. Is it possible to disable the 17 seconds timeout on the FinishedLaunching function?
-1
votes
1answer
1k views

How do I make a health bar that drains when the player takes damage? C#/XNA

I've drawn a Health Bar before and had it drain/refill on a button press using if statements and rectangles. First I loaded the image, then I set a new rectangle to be equal to the image's height and ...
1
vote
1answer
345 views

XNA - Where should I start playing a song?

I am just wondering where is the best place to start playing the background song for a game. In the loadContent() method, Draw(), or Update() methods or when I initialize it? I am trying to make it ...
0
votes
1answer
730 views

Loading sound file into monogame

I'm trying to load sound into my game. I downloaded an .mp3 sound (a second long) and tried to load it both as Song and as SoundEffect, but it didn't work, so I tried loading the same sound but as ...
1
vote
2answers
135 views

XNA Calculate two points of triangle with given Z

I want to calculate the two points of a 3D triangle that have a specified Z coordinate. I guess the way to do this would be to somehow create a plane which is perfectly flat with my given Z coordinate ...
0
votes
0answers
62 views

XNA inverted matrix acting strange

First of all, I am trying to calculate the two points of a triangle that have a given z position. I have figured out what I think to be quite a good method. First of all I move the triangle to be ...
0
votes
1answer
153 views

Port a WP7 game to WP8 with Monogame

I have a full working game for WP7, I want to port it to WP8 with Monogame. I have installed Monogame and I have done all tests to see that it is working inside Visual Studio Express 2012 for Windows ...
4
votes
1answer
182 views

GetData() error creating framebuffer [closed]

I'm currently porting a game written in C# with XNA library to Android with Monogame. I have a Texture2D and i'm trying to get an array of uint in this way: Texture2d textureDeform = ...
0
votes
1answer
269 views

MonoGame crash trying to load font from .xnb file

My MonoGame project uses a pre-compiled .xnb file to load a sprite font, and it works fine on Windows XP. The .xnb file is marked as content and copied to the output directory. I've copied the ...
11
votes
4answers
1k views

Monogame minimum hardware requirements?

What are the minimum hardware / driver requirements for running a Monogame 3.x game, on each of the various Operating Systems?
7
votes
3answers
735 views

Reusable top-down collision class

I've recently picked up monogame and am working on a simple top down game to get me started and learn the basics. I've got the movement and the rotation to follow the mouse sorted out but I'm stuck ...
2
votes
0answers
279 views

Monogame working with Krypton

I am trying to make a simple 2D game engine using Monogame and the Krypton 2.0 lighting engine. So far I have succeeded in rendering a light but I am unable to generate any shadows from any hull's. ...
1
vote
1answer
127 views

Should I be using Reach or HiDef profile if I have large spritesheets?

I'm working on a platformer in monogame, that I want to use a large number of sprites for making up items and objects in the background. The main spritesheet I've created is 4095x3734, when I tried ...
0
votes
1answer
222 views

Monogame/SharpDX Texture2D doesn't hold value

The problem I have discovered is most likely between classes, so I dont really have much option but to post the whole code here: https://www.dropbox.com/sh/smyw9t1ap3by2vd/pBX-aJJ-Qx I have been ...
2
votes
1answer
514 views

Rotate 2D Isometric World

Games like RollerCoaster Tycoon allow you to rotate the view at 90 degree intervals. I'm wondering how I could apply this to a game I'm making. I'm using MonoGame... but I'm wondering more if anyone ...
1
vote
0answers
469 views

Windows 8 C# Compile spritefonts for MonoGame without XNA

Hello Stack Exchange community. Recently, I've been attempting to in some way generate sprite-fonts into XNB files for use with MonoGame. The issue is however, as you may be aware, XNA is very ...
2
votes
1answer
501 views

Monogame crashes without any change

I've written a game in MonoGame, which works great on my desktop computer. It's running Windows 8, has a good graphics card and can be assumed to be up to date with everything. However, when I run on ...
8
votes
4answers
1k views

Detecting “Any Button Press”

I'm trying to allow the player to press any button to continue from the main page. I was able to do this by making a List of Buttons and looping through these and checking for one of them being down; ...
-1
votes
1answer
197 views

Recommended aspect ratio for android / smartphones?

I'm making a game for android and would do it in 720p, but the phones got all different aspect ratios. Also thinking about a ios and windows phone port later. When the aspect ratio does not match, ...
2
votes
2answers
265 views

Large resolution differences

I want to develop a game on multiple devices such as PC, Android or IOS. Want it to be in 1080p, but that means a massive scale down for the smartphones. I know how to do that, just render everything ...
1
vote
1answer
113 views

Is there any “object” in monogame for windows phone 8, that is similar to Toast in Android?

The title pretty much sums it all. Is there any "object" in monogame for windows phone 8 (for monogame to be exact), that is similar to Toast in Android? My purpose is to give a notification / hint ...
6
votes
1answer
227 views

Measuring GPU time from managed code

To measure CPU code, I use a Stopwatch. Using a Stopwatch in the Draw method is meaningless for the GPU side of things since the CPU and the GPU run asynchronously. The questions is simple: Is it ...
3
votes
1answer
170 views

Learning Web Development and Game Development at the same time? [closed]

I'm a junior-level developer, currently working full time and trying to get experience with working with ASP.NET MVC. I love web development, and want to continue to pursue it as my career, but I also ...
1
vote
2answers
435 views

Problem converting FBX file into XNB

I create a Monogame Content Project to convert assets into XNB. For FBX file without texture there is no problem: the file is correctly converted and when I load XNB into my project everything is ok. ...
11
votes
2answers
5k views

XNA 2d Camera Scrolling - why use matrix transform?

I am making a test game where I want the level to be constantly scrolling. To create this effect I have established a camera class which simply stores a vector2 position and an enum direction. It also ...
0
votes
1answer
850 views

Camera Matrix Transform to scroll through level - Monogame, XNA

I am trying to change the way I scroll through a level. Currently I have a static camera class which stores a direction enum and a vector 2 position. This class then has a method to move the position ...
1
vote
1answer
326 views

Best way to load texture2d tiles in xna?

I am making a test xna game as a learning exercise and I have a small question about using 2d textures. Basically the game is a grid of different 'tiles' which are taken from a text map file. I ...
1
vote
0answers
350 views

XNA Monogame How to handle tile collision [closed]

I am working on a simple XNA side scrolling game as a learning exercise. It works by creating a level object which creates a matrix of tiles based on a map within a text file. The tiles are then drawn ...
2
votes
2answers
313 views

Ambiguation between multitouch geistures tap and free drag in Windows Phone 8 Emulator (Monogame)

I am making a 2d tile based tactic game. I want the map to be slided around (because it's bigger than the screen) with FreeDrag (It's perfectly done, the map can moved around, that's not the problem). ...
1
vote
1answer
756 views

Efficient Way to Draw Grids in XNA

So I am working on a game right now, using Monogame as my framework, and it has come time to render my world. My world is made up of a grid (think Terraria but top-down instead of from the side), and ...
1
vote
2answers
147 views

How to make image bigger than the screen to be slideable in the screen in monogame for windows phone 8?

(Idk if my title is correct, because when I google it, there is no related result I guess) I am not sure how to explain it correctly, but I am making a plain 2D, tile based, tactic game in windows ...
1
vote
2answers
285 views

Throttling MonoGame actions (explosions, sounds, etc)

I'm trying to find a way to deal with throttling/managing actions that need to happen on a regular (regulated) basis. Right now, if I want to throttle an "action" in MonoGame I need to setup a ...
1
vote
1answer
2k views

What is the status of Monogame now that XNA has been discontinued?

XNA has officially been discontinued, with support no longer being offered by Microsoft. Does this mean that Monogame has died also? I see that the site still says it is based upon XNA 4. What is the ...
1
vote
1answer
103 views

MonoGame WP custom vertex decleration

How do I go about implementing and using a custom vertex deceleration in monogame for windows phone 8. I want to be able to store a position, a colour and a normal?
0
votes
1answer
125 views

Running a WindowsGL MonoGame release on end Machine

Can anyone tell me what is required of a PC to run a released MonoGame. I mean what software the PC needs to have installed to run the games. I have some problems running my released games on other ...
6
votes
1answer
760 views

Do I need to rewrite my HLSL shaders when porting from XNA to MonoGame?

I'm looking at porting an XNA project I have to monogame, but I have a fair number of HLSL shaders. It seems that Monogame for PC uses OpenGL as the rendering backend, and I'd rather not have to ...
-4
votes
1answer
505 views

XNA PC vs Monogame Online Multiplayer [closed]

I've got a mostly working PC game in XNA 4, and am looking to make it networked. From the documentation it seems that I can use XNA Networking through GFWL to do LAN sessions, but not online sessions ...
1
vote
1answer
429 views

Strange rendering in XNA/Monogame

I am trying to render G-Code generated for a 3d-printer as the printed product by reading the file as line segments and the drawing cylinders with the diameter of the filament around the segment. I ...
0
votes
1answer
1k views

How to fix Monogame WP8 Touch Position bug?

Normally below code will result in X:Infinity, Y:Infinity TouchCollection touchState = TouchPanel.GetState(); foreach (TouchLocation t in touchState) { if (t.State == TouchLocationState.Pressed) ...
1
vote
3answers
3k views

How to create / draw clickable object (such as Button in WinForm) in XNA WP8?

I am developing a 2D (No 3D in every aspect) Windows Phone 8 turn based tactical games for my college project. I use Monogame. I want to draw an object similar to Button in windows form, that if the ...
5
votes
1answer
637 views

How can I render an .stl file in XNA or Monogame?

How should I go about rendering a .stl file as a 3d model in XNA? The .stl file contains a bunch of triangles that add up to a solid mesh. I have already figured out how to read the contained data. ...
0
votes
2answers
372 views

Monogame Windows 8 Phone

I have monogame 3.0.1 (latest stable) installed on a Windows 8 Pro machine. I can create a new Windows Phone 8 project (Monogame template) and deploy to the emulator and an actual device with no ...
2
votes
2answers
2k views

Tutorial to port XNA game to MonoGame on iOS?

Are there any good tutorials to convert a current XNA game to work iOS using MonoGame?
0
votes
1answer
292 views

MonoGame Linux Mouse.SetPosition doesn't work!

Having a really weird issue, it seems that no matter what I do I cannot get the Mouse to lock to the center of the screen in MonoGame. I triple checked all the possible noob mistakes, and ...
0
votes
2answers
77 views

Can't show an object in a tapped coordinate

So hi, I have a problem. I want to show an object (Texture2D) in an area tapped by user. This is my fields : List<Texture2D> list = new List<Texture2D>(); List<Vector2> list2 = new ...
1
vote
1answer
386 views

How do I convert my XNA game to Android without using MonoGame?

I want to convert my XNA Game to Android, but I don't want to use MonoGame or ExEn. How can I do this?
1
vote
1answer
327 views

MonoGame Cross-Platform Conditional Compilation Symbols

What are the possible compiler directives for MonoGame? For example, XNA contained directives for WINDOWS, XBOX/XBOX360, and WINDOWS_PHONE. I've also seen DIRECTX and OPENGL, but when would you need ...