Quantcast
Browsing all 6821 articles
Browse latest View live

Custom vertex declaration for use in 2D?

@mgulde wrote: Dear all, I am at a bit of a loss concerning how to pass data to a custom pixel shader when drawing sprites from a sprite batch. I am drawing a 2D tile-based landscape and would like to...

View Article


How do you resize PreferredBackBufferWidth without changing size of the window?

@Thraka wrote: I want to be able to scale the backbuffer according to a ratio when the user resizes the game window. After the window is resized, I change the back buffer width/height and...

View Article


Image may be NSFW.
Clik here to view.

Png transparent pixels in trianglestrip not rendering see-through

@Mateo_Loooong wrote: I have been trying to render png files with VertexPositionColorTexture in 3d space. A simple flat square with a texture that has transparent pixels around the outside of the...

View Article

MonoGame Content Pipeline not working on OS X

@poker158149 wrote: I'm using OS X El Capitan. When I try running the Pipeline on Mac, it immediately closes. When running from the terminal, I get LSOpenURLsWithRole() failed with error -10810 for...

View Article

MonoGame.Extended UWP

@CoryKroll wrote: Based on the description of installing MonoGame.Extended found here:http://www.dylanwilson.net/how-to-install-monogame-extended I was hoping I could use it as part of my development...

View Article


Monogame Version Selection Help!!

@Harrison_Walker wrote: I am using Visual Studio 2013 on a Windows computer and am unsure which version of Monogame to install. I read somewhere on StackOverflow to use version 3.2 but am not sure if...

View Article

Image may be NSFW.
Clik here to view.

Powercity 9000 - city building game

@Jelle wrote: gameIcon.PNG2400x2056 112 KB infoPowercity 9000 is the first game that I'm developing (first game that has a demo). It's (very) basic right now: you can build a city in "creative" mode,...

View Article

Missing properties such as PlatformInitialize()

@Harrison_Walker wrote: I am creating a Monogame 3.5 application in Visual Studio 2013 C#. I created a project using the Monogame template and added the Video.cs and VideoPlayer.cs classes from the...

View Article


Does MonoGame support 8K TV's yet? x_X

@IceIYIaN wrote: graphics.PreferredBackBufferWidth = graphics.GraphicsDevice.DisplayMode.Width;graphics.PreferredBackBufferHeight = graphics.GraphicsDevice.DisplayMode.Height;graphics.ApplyChanges();...

View Article


Image may be NSFW.
Clik here to view.

SpriteFont Serialization

@repstyle_ wrote: Hello (happynuear !) I am currently trying to make a class Thing serializable to be able to laod it from a save but i am facing a problem : Thing have a SpriteFont field that i can't...

View Article

Image may be NSFW.
Clik here to view.

Drawing is not working correctly after creating CompoundPolygon

@Fox9 wrote: I have created a MonoGame iOS solution in Xamarin Studio. After that, I added Farseer Physics Engine to my solution. My project is a simple GameState management. I try to load and unload...

View Article

Visual Studio 2017 RC

@Harag wrote: Hi all I've been using VS2015 and Monogame 3.5 - I simply ran the installer for MG and it added the project to VS2015. Quick question - I've just installed VS 2017 RC - Should I just run...

View Article

Image may be NSFW.
Clik here to view.

Unloading content results in black screen

@Fox9 wrote: After unloading content, the iPhone simulator is still drawing the texture(a black texture instead of the real texture). Is this normal or is it a bug? Should the screen not be completely...

View Article


How to Scale a sprite with a single click and return to normal size with...

@Saccomani wrote: Hi all, I am new in monogame developer! I need to create a simple animation that i send a click to my sprite so this scale to another size and stay in this size...and back to normal...

View Article

Image may be NSFW.
Clik here to view.

MRT in monogame, and depth buffer questions.

@TheFamedClock wrote: I've been having some shader trouble with my 2D platformer game. I should say that I am working in monogame windows Opengl. I'm trying to get Multiple Render Target rendering to...

View Article


port from wp7 xna to win 10 using a veiwbox?

@jolyrojr wrote: I recently ported a wp7 game I originally ported from a Zune HD game. the game and all the art is really built to be 800x480. has anyone tried to wrap the SwapChainPanel inside a...

View Article

Masking Texture2D without shaders?

@Vusroda wrote: Hello again I'm trying to create mask for textures, but so far no luck. The last answer in this page is close to what I'd like to have, but for some reason it won't work.Here's my code...

View Article


Writing depth to a RenderTarget with high precision

@Kwyrky wrote: I'm trying to implement soft particles in a deferred rendering context but when the camera is to far away, then the reconstruction of the scene depth is not good enough. At the moment I...

View Article

Image may be NSFW.
Clik here to view.

NullReferenceException when creating instance of Game class

@Ulisses_Lopez wrote: i'm retaking a old project that uses XNA 4.0 framework and Visual Studio 2013, now that i can get it work on Monogame and Visual Studio 2015 i got this error, i have read a...

View Article

SpriteSortMode.FrontToBack and CustomEffects

@TommyVercettii wrote: Hope somebody can help me there... I set SpriteSortMode.FrontToBack and want make use of CustomEffectsHow does that work together? shader.CurrentTechnique.Passes[0].Apply();...

View Article
Browsing all 6821 articles
Browse latest View live