Tag Info

Hot answers tagged

3

Game assets like sounds are usually best managed if preloaded in advance. You don't want the user to experience a delay in the sound effects every time a sound has to be loaded. You should implement a ResourceCache helper that manages game resources for you. Then things like sounds could be preloaded at each level start and unloaded when the level ends. ...


1

Your code seems like it would work to me, but there are two things you would need to verify: Is the render target's format RGBA? Or is it just RGB? Are you trying to save as a PNG or a BMP? Bitmap.Save() defaults to a BMP image. To save as a PNG, you need to use this overload. Also, if MonoGame is using the OpenGL renderer, I remember with OpenTK the ...



Only top voted, non community-wiki answers of a minimum length are eligible