Quantcast
Channel: Community | MonoGame - Latest topics
Browsing all 6821 articles
Browse latest View live

Game hangs when focus lost after some time

@MuletTheGreat wrote: When I alt+tab out of the game, after a while the game hangs. The currently it's running on is lock (_d3dContext) _swapChain.Present(syncInterval, PresentFlags.None); I've also...

View Article


Arrays in shader cause runtime compilation error on Android (OpenGL ES 3.2)

@YTN wrote: I have added support for multiple lights to my shader (via arrays). This works fine using OpenGL on PC. However, when I try running it on Android (Pixel C with OpenGL ES 3.2), I get the...

View Article


Image may be NSFW.
Clik here to view.

[SOLVED]Build from source, unexpected rendering issue

@Ravendarke wrote: I need to make some changes to source, so I decided I will finally build monogame from source. I made some minor changes to draw string. Now once I used my MonoGame.Framework.dll...

View Article

ContentManger Not Unloading Properly

@michaelarts wrote: Hey everyone, I have two ContentManagers, one that contains assets that are always in memory, and another that unloads between levels. Whenever I call Unload I see a small amount...

View Article

Missing Processor in Pipeline Tool after installing Dev Branch

@sam_vdp wrote: Hi, I have recently switched from 3.6 to the dev branch 3.7.0.1467 of MonoGame and I have small issue with the Pipeline Tool. I am using a bunch of custom processors and they work fine...

View Article


Image may be NSFW.
Clik here to view.

How can I do override SpriteBatch class?

@Creta5164 wrote: Problem In previous thread, I asked can possible floating position, size, etc in SpriteBatch class. So I tried override SpriteBatch class, but it's can't possible because the class...

View Article

Bloom effect

@Valentin_Honore wrote: Hello guys, I 've found a tutorial to use some bloom effect in my game. The tuto can be found here.But I encounter an strange error. Actually, Visual Studio tell me that Build...

View Article

Android AssetManager - file count

@KapitanH wrote: Hey, does anybody know if it is possible to get more info from the AssetManager, like number of files in the Asset folder? I'm looking preferably for functionality similar to what...

View Article


Can't get this instanced shader to work right.

@willmotil wrote: I was working on instancing a few days ago and decided id like to just pass in a world orientation matrix per instance. This seemed straightforward at first but no matter what i do,...

View Article


Image may be NSFW.
Clik here to view.

How to handle depth when using multiple shaders.

@mgtaa wrote: I'm wondering if anyone has any suggestions or articles that may give me a good idea of how to approach this. I'm looking for how to structure my draw calls when I want to handle...

View Article

Why does MonoGame calls DoUpdate() before RunLoop()?

@GaijinFox wrote: I am reading the source code to learn how MonoGame works internally, and in the Run(GameRunBehavior) method of the Game class I noticed the following: case...

View Article

Anti Aliasing

@Patrick_ARMAND wrote: Hi all, i create a 2D game and have some worries about anti aliasing.I read on different posts that PreferMultiSampling = true which works fine on Xna 4.0 doesn't work on...

View Article

Image may be NSFW.
Clik here to view.

How can I achieve this camera effect?

@Katorias wrote: Hey guys, I'm pretty new to Monogame and 3D programming in general, and need some help with a specific camera rotation effect I'm trying to achieve. Essentially what I want to be able...

View Article


Image may be NSFW.
Clik here to view.

How to retrieve the position of a ModelMesh whose position was set in blender?

@Optmisitic_Peach wrote: Hi there, I have a tree that I have created in blender: Capture.PNG591x520 24.8 KB Where each one of the "Bushes" of sorts is it's own ModelMesh. I load this into my game and...

View Article

ViewPort.Unproject(...) problem.

@willmotil wrote: I just tried my old code from xna, that would turn mouse positions into world coordinates.It basically used Viewport.Unproject() Im not sure i've ever tried to use it in...

View Article


Image may be NSFW.
Clik here to view.

MessageBox theme discrepancies

@live627 wrote: messagebox theme odditiies.png590x634 18.9 KB I'm using Windows 10. I want the top message box to be themed, like the ones with yes/no and ok buttons. I have the following to enable...

View Article

How to show dialogbox

@harryh100 wrote: Hi there, I´m trying to port a windows game to linux and didn´t find a way to show a dialogbox on linux where the user can enter text and which has an ok and cancel button. On...

View Article


Changing the Pitch property on DynamicSoundEffectInstance has no effect

@niocwy wrote: Changing the property on a SoundEffectInstance works though. Maybe I missed something and this is working as intended. Or is that a bug ? Posts: 1 Participants: 1 Read full topic

View Article

How to Detect Alt Tab / Lost Window Focus?

@rystills wrote: Currently if a user is playing in fullscreen mode and Alt+Tab's out of the game, upon switching back to the game window, the game will no longer be fullscreen. This is somewhat...

View Article

Errors due to different versions of Monogame framework and pipeline tool...?

@EvilRikard wrote: I'm using xamarin and monogame to develop a game. I develop on three different computers; one stationary PC, one laptop PC and one MacBook. I have my codebase under source control....

View Article
Browsing all 6821 articles
Browse latest View live