Skip to main content

Questions tagged [monogame]

Open-source implementation of Microsoft's XNA 4, for Windows, Mac, Linux, Android, and iOS, among others.

0 votes
1 answer
113 views

I am currently trying to understand why using discard inside of a fragment shader disables early z. I am using a simple cutout shader, which discards fully ...
Kerby's user avatar
  • 53
1 vote
0 answers
116 views

So, in my breakout clone, I've encountered issues where the ball will sometimes phase through bricks and the borders if it collides with one and then immediately collides with another after. My guess ...
no good's user avatar
  • 11
0 votes
0 answers
66 views

The game I am making is having big lag spikes once every 10 seconds or so while running. The spikes seemed to correlate with garbage collection (although I can't be 100% sure), so I thought my problem ...
Depenau's user avatar
  • 111
0 votes
0 answers
99 views

I use a lot of path finding in my Monogame project which is taking a toll on the framerate, because in the worst case finding a path can take 200ms. So I looked into using Tasks to spread path finding ...
Depenau's user avatar
  • 111
0 votes
0 answers
61 views

I have created a model in Blender and exported it as a .fbx file to Monogame, and the colours come out wrong. Here is the model as seen in Blender and as seen in my game respectively: All the settings ...
Depenau's user avatar
  • 111
0 votes
1 answer
47 views

I am trying to make a trail renderer in Monogame. What I have currently is a procedurally created trail-mesh with properly applied UV coordinates, and what I have left to do is apply a per-vertex '...
Depenau's user avatar
  • 111
2 votes
1 answer
335 views

I am trying to implement an animation system using cubic bezier curves. It was easy to setup the calculation of the curve itsself. Only evaluating the curve at a specific time x gives me headaches. I ...
Kerby's user avatar
  • 53
1 vote
1 answer
67 views

I am currently implementing a map editor for a 2D platformer and run into trouble with my viewport and mouse movement. I have two viewports: one main viewport in the top 2/3 of the screen which has a ...
Canox's user avatar
  • 113
3 votes
1 answer
117 views

Today I struggled with the problem that appears on building my Monogame Android game with Release option. On Debug, everything is OK, but for some reason my game crashes on launch with Release build. ...
Code Watermelon's user avatar
0 votes
2 answers
126 views

I'm creating a rhythm game. I'm trying to move automatically Notes from upside but something went wrong. Notes just stuck. Below is code, thanks in advance for help because I don't understand what I'...
sech1p's user avatar
  • 101
0 votes
1 answer
144 views

Today I tried to implement tilemaps to my game that I'm developing on Monogame. Those tilemaps were created by using Tiled map editor. For implementing my tilemaps I used Monogame Extended. I ...
Code Watermelon's user avatar
0 votes
1 answer
152 views

I would like to change the layer depth of objects, so that the player can go behind them. Right now it looks like this when the player is behind the object: The problem is that the layer depth doesn'...
Kuvaitt's user avatar
0 votes
1 answer
122 views

I recently started rewriting my engine from scratch, because the old one was my first attempt and the structure was very messy. Everything has been going great, but now I'm being held back by some ...
Kuvaitt's user avatar
0 votes
0 answers
505 views

So in monogame, in your Game1 class you can write something like this: ...
DrZ214's user avatar
  • 348
0 votes
1 answer
64 views

I am trying to create a map for my game using a list of cuboid sections that are defined like this: ...
Maxim Gershkovich's user avatar

15 30 50 per page
1
2 3 4 5
54