Putting in an if makes sound play volume lower?
@Xentios wrote: if (timeWantedtoTurn == 0) { float volume = 1.0f; float pitch = -1.0f; float pan = 0.0f; trunk1.Play(volume, pitch, pan); } if i play it in an if sound volume is lower. if do not use...
View ArticleCamera not moving sideways based on direction it is looking in XNA
@JeroenT wrote: The camera needs to move in the direction it is moving. I can move forward and backwards but I don't know how to move left or right. The idea is also that the camera moves forward,...
View ArticleMOD Music Support in MonoGame
@endangermice wrote: Hi Guys, I'm assuming there's no MOD music playback support in MonoGame? I've just discovered the SharpMod C# player which appears to use NAudio for the sound (so should be...
View ArticleHow do i get around Mouse.GetState generating garbage?
@willmotil wrote: mousestate = Mouse.GetState(Window); // with or without the window as a parameter. The above line all alone generates about 1 megabyte of garbage every minute when i run with is...
View ArticleMy game is creating memory even when I'm doing nothing
@James_Maslaki wrote: My game is doing creating memory for an unknown reason. If you wanna test it to observe why, here's a link: https://jamesmaslaki.itch.io/mad-world-test-build Perhaps it is the...
View ArticleSomething wrong with MGCB pipeline tool and Monogame.Extend
@chanliu1983 wrote: I downloaded and installed MGCB 3.5.1.1679 tool and Monogame.Extend But When I import atlas json file, I have following error. 1> C:/Users/liul/Documents/Visual Studio...
View ArticleContent pipeline, single file with multiple outputs
@Olivierko wrote: Hello world, I have a question. Let's assume that we have a texture which we've included in our content that uses the default texture processor etc. This texture is the diffuse...
View ArticleRenderTargetCube and switch fullscreen
@Alkher wrote: Hi !I've started to implement shadows for omnilights.To see what happens i draw all the 6 faces into rectangles onscreen. All is ok with the dev 1189. One problem arose with the latest...
View ArticleDistributing sprite-fonts in MonoGame libs
@GeonBit wrote: Hello, I'm writing a GUI extension for MonoGame (almost done, coming soon ) and I have a great dilemma on how to distribute the spritefonts. The extension comes with a few built-in...
View ArticleResize a Texture2D
@kriswd40 wrote: Does anyone know how I could resize a Texture2D object? Not draw it at a larger scale but actually resize it with a new width and height? Here's the why if anyone cares: I render my...
View ArticleCamera is stuttering after random amount of time
@JeroenT wrote: Hello everyone, I have a problem that my camera starts to stutter when moving it after a random amount of time. This is not the case for the movement itself. That runs really smoothly....
View ArticleMonoGame Pipeline Tool on Ubuntu
@mfmbhz wrote: I am using the Pipeline Tool to setup a .mgcb file. The default platform is windows and I cannot change it. I suppose i have to change it to "linux". I cannot edit any settings. Is...
View Article[SOLVED] RenderTarget is black after drawing.
@Cr1TiKa7 wrote: Hey guys,so im working on my own game and i want to draw the map on starting the game.I am drawing the map to a rendertarget but when I draw it to the game itself it is just a black...
View ArticleHow to Optimize my game
@Mikosama wrote: Hi Im working on optimizing my 2D side-scrolling fighting game. It seems that MonoGame uses only one thread, how can I use more? For example, is it possible to put drawing/rendering...
View ArticleAnimation is sketchy after scaling game
@Jimmy_Maslaki wrote: When I animate my object with a spritesheet texture after scaling the game from 1920 x 1080 to a 960 x 540 window, it doesn't look right... Here's what it looks like: If you take...
View Article[SOLVED] Build a dmg? (OpenGL)
@pagoru wrote: Hi everyone! I'm new using monogame and I have a question about building a project.I use a PC and a Mac with monogame shared project (Cross Platform aka OpenGL) in Rider (JetBrains). I...
View ArticleHow can I create a MonoGame Windows 10 Universal project?
@Fox9 wrote: I created a MonoGame Windows 10 Universal project in Visual Studio 2015 Community. But I get many error messages.For example:using System.Collections.Generic;The type of namespace name...
View ArticleHide Android Status Bar in Monogame Shared Project
@Silent_Zebra wrote: When I build my android version of a shared monogame project, I can't hide the status bar at the top of the screen. I've tried using themes (theme.notitlebar works but isn't full...
View ArticleHow to handle Enemy Creation?
@Xentios wrote: Imagine a side-shooter game where enemies come,shoot and die or leave the screen. This is what i want to do. My problem is my Enemy class and my basic Game logic is ready but to create...
View ArticleVisual Studio 2015 error
@Fox9 wrote: I use Visual Studio 2015 Community and I have installed MonoGame 3.5 for VisualStudio: http://www.monogame.net/2016/03/17/monogame-3-5/After that, I opened Visual Studio and chose the...
View Article