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

learn more… | top users | synonyms

-2
votes
0answers
21 views

Visual studios community won't show my code [on hold]

A few months ago visual studios was working just fine but now when ever I enter gives me this: one or more projects in the solution were not loaded correctly. PLEASE HELP!!!!
1
vote
1answer
44 views

Using a single square sprite to create tetris-like objects

I'm currently working on a project in XNA, Visual Studio, where it is crucial I can create the classic tetris figures solely based on one square sprite (So I can return to each individual square at a ...
0
votes
1answer
18 views

Control SDL_Mix Sound Effect Volume

My game (coded in c++) uses SDL Mixer for its sound. But how do I make certain sounds louder than others. In the game's Main menu, one button is not immediately unlocked, creating a sound if you try ...
0
votes
1answer
11 views

SDL Mixer Music won't play

I'm coding a game in SDL2 and have started coding the music with SDL Mixer. The Music files won't play during the program and I don't know why. How Do I get the Music to play? SDL Mixer containing ...
1
vote
1answer
33 views

Integrating the Steamworks API achievements into your game

I'm coding a game in Visual Studio 2015 and am wondering how to go about adding steam achievements to it using the Steamworks API, do I need to have my game on steam before hand or if not what's the ...
1
vote
3answers
56 views

How to export Visual Studio game for mass distribution

I've coded a Visual Studio 2015 game in SDL2 and ran some distribution tests, I gave a user the game's .exe (the raw game with no files) and they got the error SDL2.dll is missing. How would I export ...
0
votes
2answers
53 views

Debugging .FX files in Visual Studio not working

So I have been learning how to use DirectX 11 for a while now and I have chosen to use the .FX framework rather than seperate .vs & .ps files. (I know it's deprecated but I found it a little ...
-3
votes
1answer
67 views

Change sprite in C# Unity using Visual Studio [closed]

I read the answer of Change the sprite of a Object in Unity but I can't seem to make Unity to understand what to do. visual studio can handle the code but as it says drag the sprite to the code don't ...
0
votes
1answer
47 views

Building a game project in C# for Unity in VS?

Say that a project needs to be created from scratch for later use in Unity, for scripts. What is the ideal way to setup this without using a template in Visual Studio? Can this be created in C# with ...
0
votes
1answer
31 views

OpenGL multiple viewports with 3d-2d viewing

I am trying to draw two viewports, the one on top having a 3D stuff into it, and the other at bottom with a 2D stuff fed into it. However, whatever 2D stuff i draw in the bottom viewport is not ...
0
votes
1answer
13 views

How to use the Windows Phone SDK Namespaces in my Unity project?

I'm developing a game with Unity and using C# as the language for the scripts. I want to use the Device Vibration in my Microsoft Phone which is easily available for Windows Phone Development in ...
0
votes
0answers
18 views

Visual Basic: Attempting 2 sounds at one time

I want to play a looping background sound, and then play another sound on top of it. So far I'm using My.Computer.Audio.Play(My.Resources.Filename, other information), but when I play another sound, ...
0
votes
1answer
49 views

C++ Pass the reference of the class to a vector inside the constructor [closed]

Okay so i have an extern vector of pointer type 'Entity', and what i want to do is, when a new Entity type class gets constructed it gets pushed back in the vector of Entities, in C# this would be ...
0
votes
0answers
32 views

how to use cocos 2d in visual studio 2015 in windows 7

I am trying to start a new project with cocos2d-x tool in visual studio 2015 but I got problem in build the project please help me in installation of cocos2d. Thanks
1
vote
1answer
56 views

Thrown exception pointing to xmemory0

Within a static library I'm creating, I have a struct called Vertex that holds three variables used for an image drawn on a plane: struct Vertex { glm::vec2 Position; glm::vec3 Color; glm:...
0
votes
1answer
82 views

How to create animation using sprite sheet in C++ and SFML 2.0?

I was wondering how do animation using a sprite sheet. I have a sprite sheet and the size is height:400 width:601 The code I am using is: #include<SFML/Graphics.hpp> #include<iostream> ...
0
votes
1answer
50 views

SDL2 in a VS2015/C++ panel

I'm trying to use SDL2 in a panel (VS2015/C++) and cannot find solid examples of how to connect the two. Anyone know how this is done? I've tried some code found in various places, but no luck yet. ...
0
votes
1answer
41 views

Can't get to work Spritefonts on monogame 3.5(using Visual Studio 2015 Comunity)

I've been trying to get to work spritefonts, but to no avail. I've added the pipefont to the Pipeline but when I try to load it, it shows this error here Here it is the spritefont content <?xml ...
0
votes
1answer
77 views

What is the difference of target frameworks for unity3d?

In Visual Studio in properties I can change target framefork. I cannot find anywhere what means all of these magic titles. What does it all mean (full, micro base, subset, web base)? And...Can I ...
5
votes
2answers
132 views

Force Reload VS soution Explorer when adding new c# Script via Unity3d?

When I create C# script (Create -> C# Script) via Unity3d or delete it from Unity3d - Visual Studio shows me the warning window. it's annoying. Is there any way to force "ReloadAll" in solution ...
0
votes
2answers
75 views

MonoGame Gamepad Y axis flipped?

I'm following a book I bought on Google Play that is teaching me the ropes of MonoGame, and in Chapter 2 it introduces creating an input wrapper that takes care of all the input methods for a game pad ...
0
votes
1answer
88 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
387 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
184 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
444 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
59 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 = Content.Load<...
0
votes
1answer
164 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
115 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
144 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
55 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
87 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
175 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
88 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
356 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
700 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
376 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
234 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
290 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
224 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
133 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 (your ...
0
votes
1answer
3k 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
209 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
693 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
86 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 "/member.php?22286&...
0
votes
1answer
438 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
83 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
350 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
2k 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
479 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
26 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 is ...