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

Image may be NSFW.
Clik here to view.

Palette swap shader not working, interpolates between colors

@Prims_Sdfghjkl wrote: Hi, I have a shader set up to swap out colors in a sprite based on the R and G values of each color. The original sprite's colors have a R value equal to the X of the...

View Article


Image may be NSFW.
Clik here to view.

Cymatically Muffed is now live on Steam :)

@TheKelsam wrote: Hey MonoGame friends! Our new game is live. Check out the trailer, and if it looks like it'd be your sorta jib, then you can wishlist it on Steam https://muffed.kelsam.net/ Short...

View Article


Image may be NSFW.
Clik here to view.

CRT shader issue

@Luca_Carminati wrote: Hello everybody.I want to apply a CRT shader to my game. I downloaded an example from https://github.com/Jjagg/mg-crt/tree/81bcf73e02f1087a6223b14aa97145478ead45fd. I modified...

View Article

Default parameters in SpriteBatch.Draw

@mz71 wrote: There was a overloaded instance of SpriteBatch.Draw with default parameters but it is now obsolete. See also this thread. So basically there is now none correct Draw method with default...

View Article

Build error after Monogame 3.7 and last VS 2017 update

@Elaws wrote: Hi ! I just updated VS 2017 to 15.9.13 (installed with .NET Desktop) and Monogame to 3.7.1. Everything built fine before these updates, and now getting the following build error : No way...

View Article


Having trouble building XML in content pipeline tool

@BHZ_Mayor wrote: I'm having trouble getting my XML in the right format to build in the content pipeline tool. I used TexturePacker (free version) to generate xml for my spritesheet. It looks like...

View Article

One-shot key press

@Luca_Carminati wrote: Hello all.Imagine you're coding a game in which you have a spaceship and want it shoots only once every time you press the spacebar. If you want to shoot again you have to...

View Article

Runtime compilation error on shader code

@elzabbul wrote: Hello, I'm trying to port some shaders from XNA4.0 to Monogame, but I'm getting a weird error. The compilation on MGFX goes great, but when the actual code runs I get shader...

View Article


Publish doesn't copy Content

@jnoyola wrote: Does anyone use VS Publish or dotnet publish? I've found that my content is copied fine during builds, but it doesn't get copied to the publish directory. I have the...

View Article


How to scale a Texture2D instead of using SpriteBatch.Draw() to output it to...

@jinxuandallas wrote: I want to scale a Texture2D and output the result to another Texture2D.For example , scale a 100X100 Texture2D object to 50X50 Texture2D object. But not use SpriteBatch.Draw() to...

View Article

Image may be NSFW.
Clik here to view.

Problems with spritefonts on Mac

@Vincenzodp wrote: Hi there! I'm relatively new with coding and in particular with Monogame, but I found no problems till I had to use spritefonts. In fact, when I open the file created through the...

View Article

Image may be NSFW.
Clik here to view.

Determine "Facing" for a 2D Sprite relative to 3D Isometric Camera

@kgambill wrote: I'm working on a tactical RPG where the Player Characters are 2D billboard sprites set in a 3D world (think Final Fantasy Tactics). The view is isometric and the camera can be rotated...

View Article

Project a Vector3 through a 3D camera onto a Vector2?

@NetherGranite wrote: If I understand the the API's documentation correctly, Matrix.CreatePerspectiveFieldOfView(…) creates a Matrix that projects a Vector3 onto a 2D plane. How do I actually perform...

View Article


Free Music For Your Games From New Artist

@raeleus wrote: Hey all! I just wanted to share a nice music resource for all of you. Devynn from Echo Blue Music is an accomplished musician of over 30 years experience. I've encouraged my good...

View Article

Pause key not working

@Luca_Carminati wrote: When I try to check if the Pause key is down (Keyboard.GetState().IsKeyDown(Keys.Pause)) it very often doesn't work. Why? All the other keys seem to be detected correctly......

View Article


Tool for combining height / displacement map with normal map

@YTN wrote: Does anyone have or know of a tool for combining a height or displacement map with a normal map? Specifically, I want to take the height and set it as the alpha channel in the normal map....

View Article

Collisions with 3D models.

@Steph wrote: Hello, I'm just starting to touch 3D. I made a little game 2d before that. I have a 3D model (a simple cube)https://gyazo.com/efc307f18e4328a39c7689c23b75bf53 I would like to start 3D...

View Article


Image may be NSFW.
Clik here to view.

Is it possible to pass the content builder profile (HiDef/Reach) to an...

@scott-lin wrote: I'd like to pass the Profile setting along to my custom pipeline extension. Is there a supported way of doing this? Posts: 2 Participants: 2 Read full topic

View Article

Audio running time

@Paul_Hagerty wrote: Hello I am having issue, trying to marry up image changes with playing time points in a wav file So i can display the images fine, and play the audio, however i want to change the...

View Article

Content.Load gives NullReferenceException

@cros107 wrote: Hey,I recently started work on rewriting my game so I could clean up the codebase and stuff. When I got around to writing in the code for loading in content it always crashes with the...

View Article
Browsing all 6821 articles
Browse latest View live