+ 7
What is better
What is better for game dev, java/c#
17 Réponses
+ 6
Which programming language is "better" than the other is largely subjective and depends on various aspects:
* what you want to program
* how much experience you have with a language
* which game engines or libraries are available
* individual preferences
So it isn't really a Java vs. C# thing. Basically, one can create games in any language.
If you don't want to go for Unity or Unreal or Cry, there are a lot of other game engines like Godot, Armory...
If you don't want to use game engines, you can use modules/ libraries (in Python pygame for simple 2D games, in JS three.js for instance).
If you don't want to use libraries, you could try plain js with canvas.
And as UnrealPythonist pointed out, a memory leak is most likely not a problem of a game engine in general and can usually be fixed.
+ 5
C# - Unity
+ 3
C# is a C++, but in C# more functions.
+ 3
C#
+ 3
I think c#
+ 2
If you want to be game developer, C# will be super good thing, because this programming language is using on Unity Engine (and maybe on CryEngine). Also, C# has C-like syntax, good OOP realization, safe coding etc. I can't remember game engines on Java. In that programming language you will need only to write code, no engines, that is so hard. +Java has been widely using on indie Android games and Minecraft. So if you are beginner and you want to create good game with super 2D or 3D graphics, I advise you to get C# with Unity.
+ 2
Mikicrep even old versions of Unity?
(and about memory leak: you need learn to fix it, and I hope this article help you with it: https://michaelscodingspot.com/ways-to-cause-memory-leaks-in-dotnet/ )
+ 2
I think you need use c# to create game, because you can do game in Unity and other engines. In Unity you can do 2d and 3d games.
+ 1
"but i dont want Game engine, i want to use custom one, i hate unity and that engines... Also is memory leak a thing there?"
Mikicrep shelf-off engines aren't prone to memory leak most of the time.
you obviously aren't gonna waste your time making one when you're gonna different types of games.
but I wouldn't recommend using unity for a complete begineer as it has a ton of features which can overwhelming if you don't have a prior experience.
use CopperCube first, when you grow out of it, switch to unity or godot.
+ 1
Java is still pretty ubiquitous in web development and will make understanding Java script, and therefore Node.js, trivial. C#, and dotNet development, is breaking into web development and wide verity of other areas with azure cloud services. I would say pick one that you like and become proficient with it. Transitioning from one object oriented programming language to another will be pretty easy. Development is about solving problems so, limiting yourself to just one language is like a construction worker who can only use a hammer.
+ 1
C# is better for game development.
+ 1
C++ and Java both are very important you should slowly Learn both but one by one as if you know both you will be accepted as professional for job also
0
UnrealPythonist but i dont want Game engine, i want to use custom one, i hate unity and that engines... Also is memory leak a thing there?
0
+unity doesnt work on my pc
0
Lisa Truthfully, I'm agree
0
UnrealPythonist every version doesnt work
0
Depende en que entorno quieras trabajar