Visual Studio is an integrated development environment (IDE) from Microsoft. It supports many different programming languages.

learn more… | top users | synonyms

0
votes
0answers
39 views

Game crashes when sound is finished

I'm trying to code a simple audio playback test game (which will be used in my actual project), and everything works fine, except for the fact that after the audio has finished playing, the game will ...
0
votes
0answers
31 views

c# adding object collision to multiple objects

I'm trying to make a mario, platformer type game, and from following a tutorial, they've done the collision like this, but im wondering if there is a simpler way to it since I want to have collision ...
4
votes
1answer
54 views

How to buffer an image in winbgim?

So ive always had problems with buffers and never used them before. I read up on the topic online but since winbgim is so old i couldnt find any definite answers to the topic. So im gonna ask them ...
1
vote
1answer
133 views

CryEngine with Visual Studio 2015

I receive an error in Visual Studio when I open CESharpFramework from my project folder. I had assumed I could use Visual Studio 2015; but the error tells me I need an older version of Visual Studio ...
1
vote
0answers
38 views

Can't play sound in Monogame

I'm new in monogame so I have some problem with play sounds in my game. I have a variable: SoundEffect _soundEffect; In LoadContent() method I'm doing this: _soundEffect = ...
0
votes
1answer
74 views

Unhandled exception at 0x0FE62707 (sfml-system-d-2.dll)

So, turned on my pc today thinking I we're gonna continue making my game but got denied by this error. Have no idea how to fix it and why it's there at all, I haven't touched my project properties in ...
0
votes
0answers
69 views

Visual Studio 2015 Unity Tools intellisense error

I just downloaded Unity 5. I use Visual Studio Community 2015 to edit the code. When i edit JavaScript files in VS it shows some of the Unity code as errors (for an example the #pragma strict). Also ...
4
votes
1answer
96 views

Monogame project runs in VS but hangs when run via .exe

I've been working on a monogame project for a little over a week and had no problems. Today I went to test out the project outside of Visual Studio, by running directly from the .exe in the release ...
0
votes
1answer
45 views

Pixel Shader from Visual Studio Graphics Diagnostics

i want to check my pixel shader variables in graphics diagnostics but unfortunately when i click start debugging in pixel history (mentioned below), a new tap will open and says source is not ...
0
votes
1answer
75 views

Collision problem with multiple tiles (rectangles)

I think that I found what the problem is, see below So I'm working on a collision system and I use multiple tiles in my project, each with a collision box. The player also has a collision box. I'm ...
2
votes
2answers
163 views

c++ text based duel game, buggy turn mechanic

so ive checked this code 100 times for mistakes and everything checks out and should be working, I've tried everything I can think of but for some reason nothing works, this makes the movement super ...
0
votes
0answers
47 views

Monogame with Visual Studio Shared Project

I want to create a Monogame game for Windows Desktop and WinPhone8 (and eventually for others platforms), so I've created on Visual Studio 2015 (Pro version if it concerns) a shared project where I've ...
-1
votes
1answer
162 views

Turning my main(int argc, char** argv) cpp file into a class doesn't work [closed]

So, I needed to access variables from my main.cpp file in another cpp file, and the best solution for that (to me) was to make the main.cpp file a class. Like this : (sorry for long codes...) ...
1
vote
0answers
329 views

LNK2019 unresolved external symbol __imp_ glDrawArrays@12 referenced in function _main [closed]

I try this code from tutorial for learn Modern OpenGL in Visual Studio 2015: http://www.opengl-tutorial.org/beginners-tutorials/tutorial-2-the-first-triangle/ With GLUT (from other tutorial), it ...
0
votes
0answers
213 views

Setting Up A Visual Studio 2015 Android C++ Project To Utilise The SFML Library And compile On An Android Device

So in Visual Studio I have installed the cross platform tools to set up a C++ project for Android and iOS such as the Android SDK, NDK and the corresponding USB drivers required to debug the program ...
1
vote
0answers
125 views

Cant load model from Content in latest Monogame version

Using MonoGame 3.4, I'm trying to display a simple textured basketball. Within the Game1 class, I've created Model mModel. My Initialize function contains all the proper Matrix information. When I ...
3
votes
1answer
139 views

Filling a polygon with a texture (or a color) C# Visual Studio

I'm trying to figure how to put a texture or fill a "DrawPolygon" with a simple color in C# Visual Studio (using right now 2015). //Left Wall 1 Point lw1a = new Point(18, 7); Point lw1b = new ...
3
votes
0answers
133 views

How does Visual Studio integrate with Unreal Engine better than Code::Blocks does? [closed]

Background: I want to start using Unreal Engine 4, but I'm not sure which IDE I should use. I've narrowed it down to Code::Blocks (which I want for a couple good reasons) and Visual Studio 2015 (which ...
1
vote
0answers
92 views

Error OpenGL null Cocos-2D/Visual Studio [closed]

When I try to execute a game code fully functional on Visual Studio 2013, using Cocos-2D (3.8.1) library this error jumps on screen. (I'm working on a laptop) OpenGL 1.5 or higher is required ...
0
votes
1answer
1k views

How to set up Cocos2d-x for visual studio?

I want to make a cocos2d-x game. I read you can use any IDE, so I was planning to use Microsoft Visual Studio 2015, since I want to make my game primarily for Windows. I have been searching for ...
1
vote
0answers
131 views

Unity and TFS Merging

I'm trying to come up with a good Unity dev collaboration solution for a company where TFS is used as main version control system. I've setup the Unity projects to create metadata and store all as ...
2
votes
1answer
440 views

Compile cocos2d-x Windows games without Visual Studio

I want to use cocos2d-x to make a Windows game. I used the cocos console: cocos compile -p WIN32 And apparently it needs Visual Studio. Is there an alternative to build the Windows game without ...
0
votes
0answers
63 views

Project Anarchy / Visual Studio 2013: Can't open solution

Interestingly I want to ask this on Project Anarchy's forums but after signing in all I can do is look at my profile. Every other link gives me something like: The requested page ...
0
votes
1answer
247 views

Setting up a Visual Studio project for OpenGL and OpenGL ES

I want to make a small game with OpenGL and glew for desktop, android and web. So far I know how to set up a project for opengl and a project for opengl es but I would like to have the game source ...
2
votes
1answer
59 views

What framework do you reference for external dll's to work with Unity/Mono?

So I want to compile an extensions dll for a unity game because I feel I'll end up reusing these extensions in other games/projects too - and I want to learn about external dependencies with Unity. :) ...
1
vote
2answers
189 views

DDS files with DirectX Tk, Some work, some don't

I am learning DirectX with the DirectX Tool Kit library and everything seems to be going smoothly but I have run in to a tiny little hiccup. I am currently trying to load DDS textures from file ...
0
votes
1answer
874 views

Where are the files UnityEngine.dll and UnityEditor.dll located on a Windows filesystem?

Visual Studio can't find the UnityX.dll files after I copied my assets folder from one computer to another. Where can I find these .DLLs? UnityEditor.dll UnityEditor.iOS.Extensions.XCode.dll ...
2
votes
0answers
286 views

Unity (C#): How can I create dialogue to be used in my game? (also critique my system?) [closed]

I've created my own system for handling dialogue. There's a class for each 'node' or part of dialogue. It contains the following variables: identifier (identifiers are unique for each NPC, but not ...
0
votes
0answers
20 views

SerializedPropertyBindings NullReferenceException

Using: Unity 4.6.1 Pro Visual Studio 2013 Pro, c# Team Foundation Connected to git vc Windows 7 Premium Building 2D iOS app (2D set up) Details: Periodically, this error is occurring. There ...
0
votes
1answer
507 views

Cocos2d-x project every time must compile the project plus other libraries

I'm using cocos2d-x v3.6 for win32 desktop and Visual Studio 2013 with c++. When I change the code and then compile the project again, I must re-compile my project AND other libraries every time ...
4
votes
2answers
349 views

Managing cross-platform targets/compatibility with Monogame

I recently started using Monogame for the first time because of it's cross platform compatibilities and heavily active development. The first thing I did is installing the whole framework using their ...
0
votes
1answer
154 views

VS Graphics Diagnostic Tools and IDXGIFactory::EnumAdapters()

I have the following constructor for my main application class where i enumerate all adapters, that looks something like this: CApplication::CApplication() { IDXGIFactory* factory; ...
0
votes
0answers
171 views

Solution for GIT commits in Visual Studio while Unity is open?

Specifications -VS 2013 Pro (Linked with Unity) -Unity 4.6.1 -Git Version Control (Linked with Visual Studio 2013) Summary After much research, I haven't found any solutions to this fix. *While ...
1
vote
0answers
314 views

How do I distribute MonoGame games in Windows?

I'm using VS2013 and MonoGame to create a simple game. The things is I can't make it run on others PCs. I've tried to copy Content to the Release folder using the "always copy" option in VS2013; ...
0
votes
1answer
1k views

Missing Visual Studio 2013 Templates [closed]

Visual Studio 2013 is missing the installed templates related to graphics, SPECIFICALLY the fbx scene template.. Why is this so? And where do I get them ?
-4
votes
1answer
226 views

Licensing and commercial game development [closed]

I am thinking about developing my game and have a few questions. I am going to use these softwares and libraries : OpenGL, Visual Studio Express, GLFW. I have publishing and selling my game in plans. ...
2
votes
1answer
2k views

How to enable IntelliSense for Unity scripts in Visual Studio?

I am using Visual Studio 2013 pro and Unity 4.6. Whenever I write scripts (javascript or c#) for anything and open it up in Visual Studio, I don't get IntelliSense. How to fix this issue?
1
vote
1answer
120 views

MonoGame InstancePlayLimitException on Windows w/ OpenGL

Why am I getting the InstancePlayLimitException when playing several SoundEffects per second despite there being no limit unless programming for mobile? It occurs after only a few seconds of repeated ...
1
vote
2answers
105 views

How can I draw sprites in layers based on their Y position?

I am trying to figure out the most efficient way to draw sprites in a way that they layer properly based on their Y position. Lets say I have four objects of the same class named A, B, C, and D, and ...
0
votes
1answer
153 views

Visual studio and Unity does not sync

I'm pretty new to Game Development world. I'm using Unity 3D (4.6 - Latest version I think) and Visual Studio to code the script and something when I edit the script un VS 2013 and go back to Unity ...
2
votes
1answer
183 views

VS2013: Compiling Shaders with Shader Model 5.0

When I try to compile two HLSL files included in my project, the compilation fails with an error: Error error X4502: invalid vs_2_0 input semantic 'INSTANCE' However, I notice it's trying to use ...
1
vote
1answer
146 views

How can I change the rendering backend on Windows in Monogame?

I'm using MonoGame with Visual Studio 2013 Express. I'd like to switch from a SharpDX backend to OpenGL and OpenAL. How do I achieve that?
0
votes
1answer
739 views

How to reference UnityEditor in external DLL when using UnityVS, successfully?

So I'm trying to put my scripts and custom inspector editor scripts in two external DLLs and I'm facing a problem on my Editor DLL. First of, I'm using UnityVS with Visual Studio 2013 Ultimate. I ...
2
votes
1answer
3k views

Adding SpriteFont in Monogame

My question is probably something you guys have heard before - "How do you add SpriteFont's in Monogame's content manager?" The simple answer to this is, right click the 'Content' folder, go on 'Add ...
1
vote
1answer
101 views

Why I don't have the DX templates even with the Windows 8 SDK installed?

I have Windows 7, 64 bit. I installed the Windows 8.1 SDK from here, and I installed Visual Studio Ultimate 2013. I chose to install everything; the size of the install was around 11GB. Yet I don't ...
0
votes
2answers
205 views

What does “~” in front of a function name inside a class mean? [closed]

I added a class using the 'add class' item in Visual Studio Express and it generated two functions in the .cpp file with the same names. But the second has the ~ character in front of it. What does ...
1
vote
0answers
465 views

Windows Phone 8.1 emulator for DirectX landscape [closed]

July 16, 2014 update: I have converted the SharpDX "MiniCube" sample project to a Universal 8.1 project. It is 100% self-contained. It will demonstrate this issue. There is a "READ ME.txt" file ...
1
vote
2answers
2k views

How do I get the DirectX project templates to appear in Visual Studio?

I have DirectX11 on Windows 7, and I also have VS13 Express for Desktop. In some tutorials I have seen that there's an option on VS13 for new project on DirectX, but doesn't appear in my VS13. Is it ...
0
votes
0answers
47 views

Transparency in XNA-4 primitives

I'm using XNA 4 with Visual Studio 2010. I'm trying to create a simple 3D world with walls and doors in which the user to free to roam around. A wall is just a rectangle which is currently being ...
3
votes
3answers
815 views

How can I avoid repeatedly setting up SDL in VS 2013?

Do I have to set up SDL 2.0.3 every time I make a new project? I tried putting sdl.dll in system32 so that I don't have to include it in my project folders, but that didn't work.