Quantcast
Channel: Community | MonoGame - Latest topics
Browsing all 6821 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

SurfaceFormat.HalfVector4 vs SurfaceFormat.Rgba64

@11110 wrote: i wont like to get a hdr color for emmisive buffer both 16bit floating point format give me differrent color output ---here is the shaderhalf4 emissive = tex2D(emissiveSampler,...

View Article


Music tracks

@monogany wrote: The music tracks are available as .wma files in the deployed content folder. These can be played directly in Windows. Is there a point in offering a soundtrack with mp3 versions on...

View Article


Setting Texture and TextureSampler

@henry_lisowski wrote: So I'm working on my rendering pipeline and I have a few questions about the different ways of sending Textures and TextureSamplers to my effects. I'd like the way I set both...

View Article

Compiling shader gives "Bad token CppNet.Token" error?

@Kwyrky wrote: Trying to build an effect in Version 3.5.1.1679 of the pipeline tool. The effect is: float4x4 matWorldViewProj;float4x4 matInverseWorld;float4 vLightDirection;float4 vecLightDir;float4...

View Article

Image may be NSFW.
Clik here to view.

Splitting the screen in two separated areas (2D game)

@vcRobe wrote: Hi there, I'm doing a 2D game and I want to split the screen in two separated areas, something like this Untitled.png776x485 2.11 KB I think I can use two RenderTarget one to draw the...

View Article


Mouse.GetState() in OpenGL project type causes error.

@educk wrote: Hi all, I've been learning Monogame for the last week, so I'm still new. When I try and use Mouse.GetState() on the OpenGL project I get errors. MouseState newState = Mouse.GetState();...

View Article

Image may be NSFW.
Clik here to view.

Billboard Sprite, constraining the rotation to an axis.

@wmccullough wrote: Hello, I've got billboard sprites in my game. Given the nature of billboard sprites (2d textures translated into world space), their rotation is contained to the camera's view....

View Article

How to implement a simple dialog box

@Wirago wrote: Hi there, I am working on a (quite) simple 2D RPG. Its more like a proof of concept with different features (collision, loot-system and so on)The last thing I want to implement is a...

View Article


Image may be NSFW.
Clik here to view.

Raw Ogg and m4a files loading

@KuzDeveloper wrote: Hi! Is there an easy way to load raw .ogg and/or .m4a files directly into a soundeffect, or do I need to create my own reader and load them as stream?The xnb output file's size is...

View Article


Point-based particles?

@MikeLorenz wrote: Hi all. I did a demo project several years ago in Cocos2d/iOS that used glDrawArrays(GL_POINTS...) to create a super-fast particle system. I'm looking to do something similar to...

View Article

Keyboard input, caused by mouse

@MuletTheGreat wrote: All keystrokes in my UWP 10 game are delayed by mouse input. It has two effects: 1) When holding any key, the input continues after I physically release. This ends when I stop...

View Article

Image may be NSFW.
Clik here to view.

Pipeline fails to generate spritefont.

@selimanac wrote: Just setup a new project. Pipeline fails to generate spritefont from font file. It is a standart spritefont file(xml) for Arial. Try to change CharacterRegions but no luck. It is a...

View Article

Image may be NSFW.
Clik here to view.

files exits in 2 folders error[SOLVED]

@Shadow_23 wrote: error file.png1910x380 61.3 KB how to fix this?didn't have this when i was working on the project. Posts: 11 Participants: 2 Read full topic

View Article


Image may be NSFW.
Clik here to view.

Weird effect using SpriteBatch.Draw()

@vcRobe wrote: Hi there, Is it possible to draw in a RenderTarget inside the Game.Update() method? I'm trying to dark a rectangular area inside a RenderTarget but I'm getting a weird effect and I...

View Article

Image may be NSFW.
Clik here to view.

visual studio won't recognize the picture file in the content

@Shadow_23 wrote: as you can see in the following link,i had another problem that was fixed,after that he couldn't recognize the picture: files exits in 2 folders error[SOLVED] [image][image] Posts: 5...

View Article


Image may be NSFW.
Clik here to view.

SpriteBatch System.AggregateException

@Toemsel92 wrote: The game starts and runs without any problem when I built it without the .net native toolchain.But if I enable this feature (which MS forces me to do) I receive following exception:...

View Article

Should i inherit my classes from Sprite class?

@danialabdl wrote: Hi.I 'm trying to make a Matermind game(I think all of you are familiar with it) using MG.extended.For start i have two class : "Piece" and "Hole" (i want drag pieces to holes with...

View Article


FBX build problem

@MarcinDraszczuk wrote: Hello,I'm trying to build a .FBX file with MGCB and I'm getting this error: D:/_YAZD2_Copy/TheGame/Content/Player/Guy/Death.fbx: error: Importer 'FbxImporter' had unexpected...

View Article

Shadow mapping on Monogame

@YTN wrote: Hi, I am pretty new to Monogame as well as game programming in general, so please excuse my ignorance if my question sounds stupid. I have been trying to get basic shadow mapping working,...

View Article

[SOLVED] Get all files in the content directory

@Toemsel92 wrote: Hello! Currently porting my app to Android. While Directory.GetFiles(path)worked on UWP like a dream, it does not work on Android. I guess because on Android it starts from the root...

View Article
Browsing all 6821 articles
Browse latest View live