Implementation of Microsoft's XNA 4 APIS for Android, iOS, MacOS and Linux.
0
votes
0answers
69 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 ...
0
votes
1answer
52 views
Monogame - Input secuence game (Scripting?)
I'm starting to program my very first game, it's a clone of DDR/Stepmania done for research purposes and learning.
I (at this early stage) get most of the UI/Music/input work that should be done, but ...
1
vote
0answers
34 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
46 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
33 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
107 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 ...
0
votes
0answers
73 views
Port XNA to Android
I want to port my game I did with XNA to android platform.
I searched internet but couldnt find any useful solution.
Mono for Android is replaced by Xamarin.Android and it is high price for me.
What ...
1
vote
1answer
83 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
0answers
20 views
XNA Accessing a particluar type of screen from the screen manager
I am using monogame and the screen manager sample.
I have a small question regarding how to access a particular type of game screen; GamePlayScreen.
All of the screens extend a class GameScreen and ...
0
votes
0answers
42 views
Monogame Font Problems in Windows Metro
Last week, I decided to see if I could develop a Windows 8 game for Metro using Monogame. I got the app to load, run and quit properly, but I cannot get fonts to render no matter what I try. When I ...
0
votes
0answers
57 views
I am getting an AccessViolationException error in Visual Studio 2012 and MonoGame w/ C#
Here is a link to a screenshot of the error:
It also says OpenTK.pdb Not Open as well.
This happens when I close the game window after running it.
When I comment out this part of my code, it ...
0
votes
0answers
49 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 ...
0
votes
0answers
20 views
Monogame and Visual studio 2010 express cant find spritefont template [duplicate]
I have monogame 3.0 and Visual Studio 2010 C# Express installed on my computer.
I want to draw string on screen. But monogame wants me to add a spritefont for it. I click Content directory and ...
1
vote
2answers
70 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
39 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
50 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
70 views
GetData() error creating framebuffer
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
86 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 ...
12
votes
4answers
497 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
308 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
74 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. ...
0
votes
0answers
61 views
Should I be using Reach or HiDef profile for 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
71 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
166 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
88 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
193 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
549 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
91 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, ...
1
vote
1answer
139 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
79 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
172 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
155 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 ...
0
votes
1answer
121 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.
...
4
votes
2answers
379 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
142 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
114 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
120 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
131 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
175 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
81 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
107 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
791 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
84 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
51 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 ...
5
votes
1answer
235 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
222 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
172 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
0answers
251 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
373 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
272 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. ...