Load content on background thread
@monobeginner wrote: Hello, I have some question about loading content on background thread. Lets start with a piece of code: protected override void LoadContent() { ......
View ArticleProtobuild keeps resetting my solution file to "original" one after resync
@darkhog wrote: And no, I don't use "Re-generate projects" button, just plain old resync. Also when I open project in protobuild manager for some reason it automatically resyncs and download stuff....
View ArticleBMFont rendering that bypasses content pipeline?
@darkhog wrote: Frankly I don't really know where to put it, here or in Protogame. From my understanding Protogame doesn't really like Mono's content pipeline and besides I want my game to be as easy...
View ArticleDistance and Length
@MuntyScruntFundle wrote: Hi folks. I have a couple of AI that have to do a bit of thinking, not every frame, but every few random seconds. Wheh they're thinking I get a frame rate loss which is very...
View ArticleReduce apk size with Proguard and Linking
@monobeginner wrote: Hello, I would like to reduce apk size with Proguard and linking. I enabled Proguard just with few extra rules # General Android -dontwarn org.apache.http.** -dontwarn...
View ArticleAndroid can't draw where notification bar used to be
@nebosite wrote: I created a vanilla Android monogame app where I am hiding the navigation bar. I am drawing a square texture at 0,0, but this starts about 60 pixels down, leaving a blue strip across...
View ArticleMonoVarmint: A XAML-Like widget system for Monogame
@nebosite wrote: If you are interested in a widgeting system with XAML-like syntax, I have created an open source solution called MonoVarmint. Here's a game I've published with it: Trapdot Features:*...
View ArticleMoving / resizing window freezes game
@domi1819 wrote: Hi. I'm creating a "Cross Platform Desktop" game. On Windows, while moving or resizing the game window, Update() or Draw() are not called at all.This is not happening on Linux.I know...
View ArticleBlurry font rendering and mouse position issue since XNA conversion
@pedroponting wrote: So I've finally bitten the bullet and converted my game from XNA to MonoGame, which was a lot easier to do than I expected. However I have a few remaining issues. The main one is...
View ArticleObfuscator for commercial use
@monobeginner wrote: Hello, Could you recommend me good obfuscator which will work fine with Monogame / Xamarin and is free for commercial use ? Xamarin recommends Dotfuscator which comes with Visual...
View ArticleShooting with rotation
@Falk_Bruskeland wrote: Do anyone know how to make bullets shoot in the direction the player is heading or where the mouse is?Like in a top down shooter! Thanks Posts: 5 Participants: 2 Read full topic
View ArticleWhy is constructor for Rectangle using Points?
@guy120334913 wrote: I have a question that might be a bit silly, but why is the constructor for Rectangle class taking Point for size and location, rather than Vector2? This is not a big issue, but...
View Article2D lighting with colors
@CidHighwind wrote: I have a simple shader which combines two textures into one to generate a lit texture. It looks something like this: return texColor * float4(lightColor.a, lightColor.a,...
View ArticleCan GLSL extensions be enabled in effects?
@atomgott wrote: When trying to run my game on android, I tried to use ddx/ddy to compute the normal of 2D Perlin Noise. They calculate the gradient of a variable across a fragment. The central...
View ArticleHow to pass a parameter to a Texture2DArray in HLSL?
@vermiliontower wrote: I'm working on a shadow mapping shader for multiple lights. I'd like to pass the various shadow maps into a Texture2DArray or Texture2D[] variable in my .fx file. But this code...
View ArticleRestart player
@locoking wrote: Hi all, I'm new to programming and new to game development, any help would be greatly appreciated. I did the shooter game tutorial and I learned a lot. I'm trying to add functionality...
View ArticleCalculating size of images proportional to window's size
@darkhog wrote: So my game uses rasterized SVG graphics that are scaled for the highest possible resolution (1080p). Scaling backgrounds for each screen (it's a tycoon-like game or as some people call...
View ArticleAll my work is lost. What can I do now?
@Bulent_Gozen wrote: offffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff!!!!!!!!!!!!!1 This happened the second time. I give my hours and days to draw pictures, to write codes, to...
View ArticlePixel perfect collision with rotation?
@Falk_Bruskeland wrote: I usually use this method for pixel perfect collision: public bool IntersectPixels(Rectangle rectangleA, Color[] dataA, Rectangle rectangleB, Color[] dataB) { // Find the...
View ArticleAdditive blend from a rendertarget
@Razputin wrote: Hi, I am trying to render a bunch of flares as additive, if I draw them directly in graphics device it works as intended, but if I draw to a render target first I get full black....
View Article