Exception in Viewport.Unproject after game restart
@andrej wrote: I have a simple android app with 2 activities -- game mode selector and game activity. When I start game activity for the first time, everything is ok, but when I navigate back to...
View ArticleBug: NullReferenceException in TouchPanel.GetCapabilities()
@techfan101 wrote: I'm developing a cross-platform game. In my Visual Studio solution, one of the projects is based on the MonoGame Windows Project template (MonoGame.Framework.dll is version...
View ArticleRay picking fails when world matrix is not identity
@andrej wrote: I have a simple game where you can select objects. Selection is implemented with ray picking. World, view and projection matrices are same for objects drawing and screen touch point...
View ArticleMonoGame Mouse.GetState() not getting position
@George_Leslie wrote: Hi All, I am relatively new to MonoGame but I player around with XNA quite a lot back in the day. I am trying to port an old project of mine. This project was a 2D game engine...
View ArticleOpacity when creating lightsources
@LEM wrote: I'm following this thread and monopalle's code to create lightsources. My goal is to darken the background and then have several lightsources that will move around. I have tried to...
View Article[SOLVED] Same Vector Different Position
@MrMinemeet wrote: Hey there, I am a bit of struggeling with some kinda strange Vector2 issue or problem (whatever you want to call it)My player and the enemy are having the same Y-Position but still...
View ArticleHow do you handle Control keys when using Window.TextInput
@willmotil wrote: So when using Window.TextInput += SomeMethod; Im finding that some control keys are passed thru to the raised method were others are not. For example backspace and enter raise the...
View ArticlePNG image colors not correctly displayed
@Pierre_Durant wrote: Hi all I'm now on monogame 3,7, using visual studio for Mac.For my game I display some PNG images. On Android, no problem, all is fine !On IOS, with the SAME FILES, colors are...
View Article3D collision
@Moirai wrote: I am having lot of issues getting collision of convex mesh running in Monogame. I have general idea how to approach it but I am having some issue with efficiently extracting vertices...
View ArticleSprite not rendering in correct position
@hexdie wrote: I apologize, I'm completely new to MonoGame. I've done dev with other frameworks (primarily HaxeFlixel), and toyed around with XNA years ago. Anyway, I just installed MonoGame and I was...
View ArticleMonogame inside ViewPager?
@andrej wrote: I'm working on app where you can manipulate with some settings of object and look at the result, built with MonoGame. Now app consist of one activity with ViewPager, consisting of 3...
View ArticleMonoGame 3.7 Install Errors
@SNaidamast wrote: Hello... I tried updating my MonoGame SDK from 3.6 to 3.7 this morning. However, when it went to write the various templatezip-files, the installer kept on throwing "write errors"....
View ArticleJjagg's IPrimitiveBatcher.cs
@lofcz wrote: I have a problem trying to run Jjagg's MonoGame extension that's available here: https://gist.github.com/Jjagg/bd0540ded0d399e716f25e00641488e1 In a nutshell I am unable to get stuff...
View ArticleGaps Between Tiles
@CSharpCoder wrote: I have a 1024x1024 texture of tiles that I draw from.When the camera is at very specific positions I can see a 1 pixel gap appearing between tiles like this: Upon further...
View ArticlePointList
@Unimat2809 wrote: How to draw the sequence of points? The way like PrimitiveType.PointList XNA is necessary Posts: 1 Participants: 1 Read full topic
View ArticleMonoGame Windows Project raises exception
@KrisHermans wrote: Hi I'm a newbie on Monogame development and I was checking out the platform. I have a Surface Pro 3, VS2017 and installed MonoGame 3.7. When I start a new project from the...
View ArticleXna to Monogame
@Unimat2809 wrote: How it is simpler to transfer the XNA project to Monogame?It is a lot of differences from XNA. Posts: 5 Participants: 3 Read full topic
View ArticleCant get the Monogame templates installed
@onCC wrote: Hello GuysI've tryed almost everything to get Monogame installer working for me but it still doesnt. I get the error that all of the available visual Studio templates are grayed out. I've...
View ArticleDiffuse light shader with indexed primitives
@SomeGuy wrote: I need to use a triangle's normal in a vertex shader using vs_3_0 & ps_3_0.To save memory, I do not want every vertices to host the normal ( 3x same value per triangle + 3 new...
View ArticleTexture array question
@KakCAT wrote: I'm creating a Texture array (for cascade shadows) with arraySize 4 and I'd like to render them for debugging purposes. Is there a way for spriteBatch.Draw to select one of the 4 slices...
View Article