External class does not work the way expected
@diliupg wrote: My player class is initiated like this. namespace Space_Battles { class Player : CommonMethodsCommon Methods contains methods that I will share with other classes.The common Method...
View Article[solved] Vector2.Transform(Vector2, Matrix) returns {X:n. def. Y:n. def.}
@globalenemy wrote: I'm trying to convert a Vector2 screen position to a world position. I've found this nice method in a question on stackoverflow: public Vector2 ScreenToWorld(Vector2 onScreen) {...
View ArticleApply PixelShader on Texture2D
@Toemsel wrote: For some reasons applying pixel shader does not work as excepted. Shader.fx (Grayscale effect) sampler TextureSampler : register(s0); float4 PixelShaderFunction(float2 texCoord :...
View ArticleChanges are not allowed if the assembly has not been loaded error
@MarlonSecundo wrote: I'm working on a cross-platform project in monogame that contains an android, ios, desktop, uwp solution with a portable class library and a shared project. When I try to edit...
View ArticleXnb2png * Updated version from old version by Cooldudepoke
@Jens_Eckervogt wrote: Hello everyone, I have updated version of xnb to png converter by Cooldudepoke Question:How do I fix? Answer:I replace to Path.Combine() with paths and directories.I have...
View ArticleTiledMap Texture Bleeding
@Toemsel wrote: Using the tool Tiled and importing + drawing it with MonoGame.Extended.Tiled Everything works like a charm. But as soon as I adjust the view matrix, the tiles start to bleed. (Gap...
View ArticleLiving wallpaper engine using monogame
@Icecream-Burglar0 wrote: I've only tested it on Windows 10, and it certainly won't work on non-windows platforms Here's a video of it in...
View ArticleWiered Lerp() with a static Method
@globalenemy wrote: Greetings,It's me, with my camera again! I'm currently trying to write a simple Method to give my camera some move and zoom animation. I just give it a target Position, a target...
View ArticleDebuging on iPhone device in Visual Studio for Mac
@earlgraycz wrote: I have problem with running my iOS app (Monogame) on my iPhone X device in Visual Studio for Mac. I can test it in emulator, but I don't see option for physical device in list of...
View ArticleMonoGame + CefSharp (Chromium Embedded)
@fr0 wrote: There are a lot of great UI frameworks for MonoGame. However, I really wanted to be able to take advantage of my existing knowledge of HTML/CSS, so I explored the possibility of using an...
View ArticleSampling the Alpha Channel
@skyemaidstone wrote: Is it possible to sample the alpha channel? It doesn't appear to work when I try it with a png. I'm trying to come up with a way of having more than 6 textures on my terrain. I...
View ArticleBloomRenderPipeline as PCL
@throbax wrote: Hi there! Yesterday I was discussing with @Jjagg how it would be nice to have small reusable parts that one could load when designing a game.So here we are. github:...
View ArticleAndroid Bitmap Font black blocks
@tval wrote: I a using a bitmap font to display some text. In the the VS android emulator, the text appears to display correctly. However, on the actual android device itself, the text appears with...
View ArticleTeamcity
@Alkher wrote: @Jjagg @TomAin't there a problem with teamcity's builder (it seems mac tests are always failing)? I have seen many commits and PRs being merged, but the last successfull build from...
View Article#if !ANDROID not working
@globalenemy wrote: Greetings,I have some code in that I only want to run on Desktop (GL) and some code that I only want to run on my Android device. This: #if !ANDROID IsMouseVisible = true;...
View ArticleCan anyone tell me why my collision detection does not work?
@diliupg wrote: in my enemy class I create my rectangle like this. enemyPos = new Vector2(spritePosX, spritetPosY); Rectangle enemyRect = new Rectangle((int)enemyPos.X - enemySprite.Width / 2,...
View ArticleMonoGame pipeline tools in Rider without installing VS Templates?
@ImperialMan wrote: Hello. I haven't VS on the notebook, only Rider (because VS with R# is very laggy on my slow laptop but I need resharper) - Windows I didn't install monogame from the site because,...
View ArticleIs it possible to build for Android without Visual Studio?
@ImperialMan wrote: I'm using Rider (WINDOWS) and want to build my game into Android.. Is it possible to do without installing VS, if Xamarin.SDK only in VS Installer?(I installed VS Build Tools but...
View Articlehow to use dev version to fix 2017 templates issue
@MrMajorThorburn wrote: I am sorry to have to ask but until 3.6.1 is available I'm stuck and am trying to follow what hints I have found.The system Im working on has a clean install of VS 2017...
View ArticleOptimize tileengine
@EnemyArea wrote: Hey ppl, I hope you can help me a little bit I have some lags in my monogame/wpf application.Here is the sample: https://www.dropbox.com/s/umt6jk54lfv5wyw/VertexTestMonogame.zip?dl=0...
View Article