Tagged Questions
0
votes
1answer
38 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 ...
1
vote
1answer
92 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
votes
0answers
19 views
ContentTypeReader isn't being found by in PSM Port
I'm in the process of porting over my XNA project to the Vita but when it comes to trying to read my custom xnb Monogame fails to find the ContentTypeReader.
This is the line used to read the map ...
1
vote
1answer
35 views
Error instantiating Texture2D in MonoGame for Windows 8 Metro Apps
I have an game which builds for WindowsGL and Windows8. The WindowsGL works fine, but the Windows8 build throws an error when trying to instantiate a new Texture2D.
The Code:
var texture = new ...
-1
votes
1answer
94 views
XNA/MonoGame and Game Studio/MonoDevelop [closed]
First off, I have a bit of programming experience in Java and have always programmed using ViM (even though I recently moved to Sublime Text 2) and I'm trying to learn C# and the MonoGame framework. ...
-1
votes
1answer
95 views
MonoGame iOS and Game Performance [closed]
My friends and I are developing a game for Ipad/Iphone using the monogame Framework.
We are at the final stage of the development and we are having some issues concerning the deploy of the game.
This ...
2
votes
0answers
66 views
Getting a uint color array from a portion of a Texture2D
I'm currently using the Farseer tools to create a body from a Texture2D. However, my texture is a spritesheet and I need to get the uint array containing the colors from a portion of the full ...
4
votes
1answer
233 views
Compiling a Monogame Game into a single .exe
Is it possible to compile a monogame game into a single .exe? I know if you go in the debug or release bin, there is in fact a .exe your game, except you move this .exe's file location or try to run ...
0
votes
0answers
102 views
HLSL Triplanar texturing and multi texturing performance
I'm stuck for my terrain rendering shader code for DX9. I'm looking to implement triplanar texturing, a texture atlas, and blending between different textures. Right now it's working. The problem is ...
1
vote
1answer
104 views
Using IGameComponent and related interfaces in MonoGame
I am trying to port a XNA project to MonoGame which involves a DLL game library that I created. This library uses the IGameComponent, IUpdateable and IDrawable interfaces to load one of my library ...
2
votes
0answers
223 views
Loading custom shader in Monogame
I have been trying to load this custom FX file into a Monogame project, and everything I try fails. (code taken from http://www.david-gouveia.com/scrolling-textures-with-zoom-and-rotation/)
sampler ...
0
votes
2answers
187 views
Problem Loading sound effects on monogame with monodroid [closed]
I am having difficulty loading a soundeffect The path is correct, the .xnb is set to androidassets in the project.
My Root is set to content and the folder structure looks like
Assets
Content
...
3
votes
1answer
129 views
Platform independent replacement for LuaInterface
I'm currently working on a project in C#/XNA, however I'm planning to migrate this to MonoGame so that it can go onto more platforms. The problem is that I am currently using a lot of Lua, and for ...
-1
votes
1answer
110 views
How can I solve this animation [duplicate]
At the moment I have a simple static texture. Now I want to animate my sprite. The texture is a simple human. When the user press the enter button, the human gets into state2. This is the standart ...
-1
votes
1answer
124 views
Animation: mid-state
At the moment I have a simple static texture. Now I want to animate my sprite. The texture is a simple human. When the user press the enter button, the human gets into state2. This is the standart ...
0
votes
1answer
128 views
Smooth rotation [duplicate]
I would like to rotate my Player very smooth. At the moment the player stops rotating when I release the button. Also the rotation should get faster, if the player rotates longer. I use XNA and have ...
3
votes
3answers
201 views
8 directional movement - Maintain vertical position
I have a top-down game that has 8 directions of movement (top/down/left/right/topright/topleft/bottomright/bottomleft). There are sprites for each direction of movement. This is just an example ...
0
votes
3answers
699 views
MonoGame performance better then XNA?
I am currently thinking about porting a XNA game to other platforms using MonoGame. Do I understand this correctly that I can expect the game to render faster even under Windows 7 due to the use of ...
2
votes
1answer
270 views
Portable sound and music for XNA / MonoGame?
What is the best (recommended) way to integrate audio (both sound effect and music) in a game project (using C#/XNA) targeting multiple desktop platforms (W7, W8 Metro, Linux, OSX, ...) via MonoGame. ...
5
votes
1answer
207 views
Portable buffered keyboard input for XNA / MonoGame?
As a preliminary solution, I am currently using the Nuclex framework in an C#/XNA game project for buffered keyboard input. Sadly, nuclex relies on SlimDX.Directinput.dll and therefore to my knowledge ...
4
votes
1answer
256 views
Playing Video In MonoGame
I'm trying to play a video in a monogame project. I've done this in XNA in the past by including the Framework.Video directory and it's very simple. This cannot be done in monogame as Visual Studio ...
2
votes
1answer
157 views
When to Dispose Textures
I recently realized Texture2D implements IDisposable, and now (while trying to track down a memory leak) wonder about where and when I should dipose this.
My current architecture is that I have a ...
0
votes
1answer
131 views
Disappearring instances of VertexPositionColor using MonoGame
I am a complete beginner in graphics developing with XNA/Monogame. Started my own project using Monogame 3.0 for WinRT. I have this unexplainable issue that some of the vertices disappear while doing ...
1
vote
0answers
79 views
Strange rendering issue with monogame/WinGL with HD7670M
I'm having some strange rendering issues with latest monogame/winGL code as seen below;
As you can see the xna and tomspilmans WinDX port seems just okay.
I'm having this problem on my laptop ...
2
votes
1answer
311 views
Has anyone got the Krypton Lighting Engine working in MonoGame for Windows 8?
I've converted the core of the Krypton Lighting Engine so that it's compatible with Windows 8.
The trouble I'm having when actually using it is that it can't load the KryptonEffect.xnb file. I'm ...
4
votes
7answers
3k views
How to generate Spritefonts for monogame
I just want to render some text to the screen using:
monogame 3.0
MS Visual Studio 2010 C# Express
In XNA, you were able to add fonts to the content pipeline quite easily. But this doesn't seem to ...
2
votes
1answer
129 views
Multiply mode in SpriteBatch
I have a "lighting" texture (black background with white or colours for lights) that I want to draw as a multiplcation operation. SpriteBatch.Begin can specify BlendState.Additive, but there's no ...
3
votes
2answers
192 views
Where i must put .xnb files in mono game project using VS2010?
Hello there my problem was describe below In the "The Content Pipeline" paragraph
...
7
votes
5answers
376 views
Sprites rendering blurry with velocity
After adding velocity to my game, I feel like my textures are twitching. I thought it was just my eyes, until I finally captured it in a screenshot:
The one on the left is what renders in my game; ...
4
votes
1answer
502 views
Sound not playing on Windows XP - SoundEffect or Song: Monogame
*Solution:* I have a RealTek ALC888. I solved this (OpenAL) by disabling hardware acceleration on my sound (Control Panel > Sound > Advanced, disable acceleration).
I'm trying to integrate sound into ...
0
votes
1answer
118 views
Alpha From PNGs Butchered
I have a pretty vanilla Monogame game. I'm using PNG for all my sprites (made in Photoshop). I noticed that XNA is butchering the aliasing; no matter what I do, my graphics appear jaggedy.
Below is a ...
1
vote
2answers
318 views
Does XNA/MonoGame have a text caching mechanism, or has an open source one been implemented?
I'm playing around with MonoGame, and I've noticed the SpriteFont class draws static text very inefficiently. Each time the text is drawn the spacing is recalculated. This isn't a big deal on my quad ...
3
votes
1answer
466 views
Monogame/SharpDX - Shader parameters missing
I am currently working on a simple game that I am building in Windows 8 using MonoGame (develop3d). I am using some shader code from a tutorial (made by Charles Humphrey) and having an issue ...
0
votes
1answer
148 views
Drawing an arrow cursor on user dragging in XNA/MonoGame
I am writing a touch enabled game in MonoGame (XNA-like API) and would like to display a an arrow 'cursor' as user is making a drag gesture from point A to point B.
I am not sure on how to correctly ...
1
vote
2answers
240 views
Color sprite tint with opacity in MonoGame/XNA
In MonoGame I am using SpriteBatch to draw sprites. I want to create a semi transparent overlay that would 'tint' the sprite with a given color. SpriteBatch.Draw accepts Color parameter that allows to ...
-1
votes
1answer
288 views
a* path finding and movement (keeping the character central) [closed]
Now I've built games in xna so I think I'll be ok with the framework mono touch, but I've only ever worked on really simple games in xna so I need to ask a few questions that will help me get started:
...
0
votes
1answer
255 views
Problem with monogame reference in monodevelop MAC
I've downloaded monogame, monotouch (test version) and monodevelop for MAC and I created a monotouch IOS project, I included the Lidgren and Monogame csproject inside my monodevelop project and I ...
0
votes
1answer
331 views
MonoGame: PC + Mobile?
I'm researching Monogame. Their goal is to allow "easy" porting of an existing XNA/Windows game to mobile.
Does this mean you can have one solution (theoretically) with shared code, and it works on ...
1
vote
2answers
2k views
MonoGame Mac installation instructions
Does anyone know how to install MonoGame on Mac. I have been looking around for a while and I can't find any guides. I have Mono and MonoDevelop up and running fine, but I cannot figure out how to ...
1
vote
0answers
350 views
Mono and/or MonoGame for Android and iOS Experiences [closed]
I was wondering if anyone has any experience of using Mono and/or MonoGame for cross platform game development, particularly with regards to Android and iOS games development.
Key things are;
What ...
3
votes
2answers
814 views
Is there an easy and automatic way of converting a Windows XNA project into a Monotouch Monogame project?
I have just started with XNA development on Windows. But as I'm a fan of iOS I had to try porting my test code over to Monotouch on the Mac.
I used these instructions: ...
