Skip to content

Unity vs Visual Studio

I want to make a high quality 2D game as a project and I’m fairly new to game making. I wanted to know what software would be best to use unity or visual studio and why. The language I’m using is C#. Thank you

5 points15 comments
Open on Reddit
About this post
Posted
Archived
Score
5 · 86% up
Kind
Text
ID
jphfif

Author

23
posts
2
comments
8
media
View profile

16 comments

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.

11 points

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

1 points

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.

2 points
unknown author3 hidden

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.

9 points
unknown author2 hidden

Deleted before we saved it.

0 points

how vector data is converted into pixel fragments

I feel like this should be pretty low on most game developer's priority list.

5 points
unknown author

How could anyone create a engine if he doesn't know the fundamentals.

1 points

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.

4 points

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.

3 points

Thank you

1 points

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

2 points

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

1 points

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!

1 points

...Excuse me WHAT?

visual studio is a compiler

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

-5 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.