Issue with Texture2D.FromStream
@StainlessTobii wrote: Hi Guys, I use a system for showing damage on meshes which uses the alpha channel. So you create a skin for the mesh like this. skin1o_noalpha.png512x512 398 KB Then you cut...
View ArticleNew to Monogame, use Framework (Nex, Monocle) or Not?
@fikry13 wrote: I've been reading about monogame this week, I'm planning to make a 2D platformer as my learning project. is it better for me to use framework like Nez or not? I used Unity for couple...
View Article3D Rotation Slerp towards Target
@RyanTimothy wrote: I have a turret that slowly rotates towards a target. The game is 2.5D and is oriented along XY axis with Z as "up". This was the original code which worked great, but was for XZ...
View ArticleDelay after Keyboard-Input
@JannoTjarks wrote: Hi guys, i am learning MonoGame now since 2 weeks. It is a very nice framework and exactly the thing i was searching all the time for game development. Sorry, if the answer to my...
View ArticleSaving to Xbox ONE storage
@vikingfabian wrote: If you figured out how to save to Xbox One Storage, what was your approach? Did you make a Dll import of XboxOneXDK? Or did you manage to get the (UWP) Windows.System.User to work...
View ArticleRequesting Instruction/Tutorial for compiling to Mac and Linux from Windows.
@Quasar wrote: Hi all, I've been searching for a while and getting conflicting information based on the age of the post and the version of Monogame. I've seen people suggest tools like MonoKickstart...
View ArticleThe type or namespace name Game1 could not be found (are you missing a using...
@Felicity_Djarv wrote: Please help me solve the problem using System; namespace Game6._1 { #if WINDOWS || LINUX /// <summary> /// The main class. /// </summary> public static class Program...
View ArticleBuilding a BGM Repetoire on SoundCloud, with more to come.
@OPM_eStudio wrote: Hey, guys! Rock here! Just wanted to share some of my music! I'm down to do custom BGM tracks too, if anyone is interested! Also in the process of learning how to work with Tracker...
View ArticleGet Triangle Primitive in Vertex Shader
@CSharpCoder wrote: I'm writing a shader that draws the shadow of a character by drawing it again with an offset depending on the positions of the lights in the scene. This offset is calculated from...
View ArticleCustom BlendState Advice
@HietpasGames wrote: Hey, I've been bashing my head against a wall trying to get custom blendstates working. Google the crap out of it, tried almost all possibilities, wrote out the math... I just...
View ArticlePlaying the video doesn't work anymore
@ClEngine wrote: When I use the MP4 file format for playback, only the sound has no picture. Is it wrong for me? var video = Content.Load<Video> ("testVideo"); var videoPlayer = new...
View ArticleHow Would I Assign Collisions To Tiled Map?
@ItsHeX wrote: Hi everyone, I'm relatively new to Monogame Extended. So lets say I have a tilemap ready. I sort of understand the logic of assigning collisions to each tile; you call every tile and...
View ArticleSet world position into a child matrix
@GeonBit wrote: Consider the following setup: object A contains object B, which contains object C.All objects have local position, scale and rotation. They calculate a local matrix + world matrix,...
View Article[SOLVED]Object reference not set to an instance, System.NullReferenceException
@OsenbaughJr wrote: Hey,In my program there is some bombs generating, but on start, after adding new one to list, it should set bomb's parameters but throws "Object reference not set to an instance"...
View ArticleProblems changing resolution with render target
@andylatham82 wrote: Hi, I am trying to work out how to change resolutions during a game. I am drawing to a render target which I am then stretching to whatever screen resolution I choose. However if...
View Articletutorial on recreating old graphics systems in monogame?
@Shadowblitz16 wrote: is there a video tutorial on how to go about recreating old graphics formats in monogame?I have asked/tried many times to create this but doing it so that it runs well on the gpu...
View ArticleHow Do You Build .tsx Files?
@ItsHeX wrote: Hi, I'm new to MonoGame Extended and though to give it a try with a test tmx file. I have the extended, graphics, tiled and content pipeline nuget packages installed. I also have the...
View ArticleTiled animations not displaying properly
@Aaron wrote: Hello, I'm using TiledMapRenderer, which is displaying static tiles just fine. However, when it tries to render an animated tile, it appears the source rectangle's top left coordinate is...
View ArticleSampler states unsync bug from XNA 4.0, is it fixed in Monogame?
@Remi_Boullerne wrote: Hello. I'm porting a game from XNA 3.1 to XNA 4.0 with the objective to then port it to Monogame. Right now, I'm having issues with the bug where sampler states isn't synced...
View ArticleWriting a C# serializer, running into an issue
@jamie_yello wrote: I wrote a class that takes an object and outputs a .cs file with code that generates that object. Aka an object to class converter. https://pastebin.com/WDLygCRs I'm making this...
View Article