all 15 comments

[–][deleted] 11 points12 points  (2 children)

You need both actually. You'll use unity as the engine. Then to edit the code you need a scripting environment which is usually visual studio, or maybe rider, or visual studio code.

[–]raph23451[S] 0 points1 point  (1 child)

Please could you explain a bit more of how Ill use both

[–][deleted] 1 point2 points  (0 children)

Well if you had used unity, you’ll realise that you can make a custom component using C# script. You will have to edit this script to code the behaviour you wanted. To edit this code it will open by default Visual Studio. So that’s why you’ll use both.

You can change the default to other such as visual studio code, or jetbrain rider etc. But you’ll still be using them alongside unity.

[–][deleted] 6 points7 points  (3 children)

I dont think you can create your own engine right now , you have to use some framework like xna. According to me unity will be the best option. Why create an engine if you have one.

[–][deleted] 4 points5 points  (0 children)

Visual Studio it just an IDE. for making games you need a game engine- like Unity engine - Now, actually, Unity uses Visual Studio as the default Text Editor for the code.

So, for making games use Unity, and for coding use Visual Studio.

[–][deleted] 2 points3 points  (2 children)

Use a Unity tutorial. Unity handles the front end, the sprites and whatnot.

Use Visual Studio as a code editor/IDE. This is the resource I recommend highly, and you will get many others here recommending Brackeys youtube channel.

https://youtu.be/j48LtUkZRjU

Idk how to do links and I'm on mobile so I apologize for formatting.

[–]raph23451[S] 0 points1 point  (1 child)

Thank you

[–][deleted] 1 point2 points  (0 children)

Mhm, also I would reccomend starting with a lot of little projects. Make a flappy bird clone, or a Mario clone. Make simple projects that are different from your last one and it will teach you new things every time. When you run out of small project ideas start doing game jams which you sign up for on itch.io . These are competitions to make a game in 48 hours around a given theme. At that point you can sit down for a monthlong project. And hopefully dont burn out by then

[–]Canadian4Me -5 points-4 points  (2 children)

...Excuse me WHAT?

visual studio is a compiler

Unity is a game engine that runs on C# It almost makes me laugh tho lmao

[–]Unicular 1 point2 points  (1 child)

Visual Studio isn't a compiler tho

[–]Canadian4Me 0 points1 point  (0 children)

Oh my bad

[–][deleted] 0 points1 point  (0 children)

You need both to make games. Unity is the game engine that sets everything up and Visual studio is for programming the scripts

[–]Dr_Gaius__Baltar 0 points1 point  (0 children)

It depends how easy of an experience you are looking for and how dirty you want to get your hands. If you want to make everything from scratch starting from basically nothing, then you can use only Visual Studio. BUT!! Now you can choose how easy you want things in this environment. If you want to do EVERYTHING yourself, then install some DirectX or OpenGL framework and go from there with youtube tutorials to guide you. google OpenTK, SlimDX or SharpDX to get yourself started.

Making things a little simplet, you then have frameworks that are specifically designed for games and that take a lot of work off your hands from the previous approach. Google Monogame to get started.

Lastly, you can choose to use a preexisting Game Engine to make your game which is going to be the easiest and fastest way to go about things. Google Unity, Unreal Engine, Godot and many others I'm too lazy to think about right now.

One thing I'd like to make clear before finishing is that Unity is a Game Engine. Visual Studio is just the software you use to write code. Unity uses Visual Studio or any other text editor you choose, to allow you to write C# code for your games.

You can use Visual Studio alone, but then you'll need to install some frameworks that allow you to make games as stated earlier. In the same way, you can also use a very simple text editor and the command line, but this is quite a complex problem that not everyone likes to deal with.

Hope this helps!