Will anyone explain me which programming language should i learn for (2D)game development???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Will anyone explain me which programming language should i learn for (2D)game development????

23rd Oct 2021, 5:37 PM
Sunith Uzumaki
Sunith Uzumaki - avatar
31 Answers
+ 17
C++ is a language with a relatively high entry barrier (meaning it’s quite difficult to learn), but the reward is greater because it allows more direct control over the hardware and graphical processes (something very important in video game design). It is an object-oriented language, meaning it uses internal structures to better organize code into reusable blocks (classes and objects). It is by far the most commonly used language for writing game engines, and some engines (such as Unreal) only accept information written in C++.
23rd Oct 2021, 6:00 PM
Arun Jamson
Arun Jamson - avatar
+ 9
There have been a lot of suggestions here, and they are all viable, so here is so something to help you choose: python is the easiest, but the least controlling to use, while java is slightly harder, but gives better control, and then there is C#, which is harder still, but gives very good control, and finally C++, which is the hardest, but also the best for control. Taking this into account, and the fact it is used quite often for its rank in this list, I would recommend C#, however feel free to use whatever u wish from these. (P.s. heard of Fortnite? Big hit! Uses unreal engine, which is coded in C++, which makes that another good option, I would pick one of those two, C++ or C#)
24th Oct 2021, 9:13 PM
Kamil Hamid
Kamil Hamid - avatar
+ 4
Depends on platform really. Try C# and Unity for starters, lots of learning materials and big community
23rd Oct 2021, 5:54 PM
Dennis Torhov
Dennis Torhov - avatar
+ 3
for creating a high end game you need to learn multiple programming languages low end games can be created without learning programming using applications such as unity
25th Oct 2021, 7:01 AM
shivam
+ 3
At first try create a game with html, css and javascript.
25th Oct 2021, 9:20 AM
Suyumbek Orozmatov
Suyumbek Orozmatov - avatar
+ 1
C++ , python, java
25th Oct 2021, 8:37 AM
Mirziyod2003 Mirkomilov
Mirziyod2003 Mirkomilov - avatar
+ 1
For 2D learn Javascript, HTML, CSS ,Canvas and the animation Libraries.
25th Oct 2021, 12:37 PM
Daniel Edmundo Rodríguez López Serra
Daniel Edmundo Rodríguez López Serra - avatar
+ 1
Hoang Ben , Correct Nice Opinion! https://scratch.mit.edu
25th Oct 2021, 1:57 PM
Sancho Godinho
Sancho Godinho - avatar
0
personal I think python is a good one, easier to learn and only growing in the industry. Modules for c to python development already exist so they fot together, so after you get python, try a bit of c, most of it will just feel natural.
24th Oct 2021, 1:49 PM
Michael Smyth
0
Hey man, I'm fairly new to coding, but from what I can tell C# is the most popular for game development. Hope this helps bro
25th Oct 2021, 12:12 AM
Daniel Fenton
Daniel Fenton - avatar
0
C++,Python and java
25th Oct 2021, 10:29 AM
Chowdaiah Madaka
0
I would suggest c#
25th Oct 2021, 10:43 AM
Jolen Mascarenhas
0
I think you should do scratch, you can even make 3D games
25th Oct 2021, 1:56 PM
Hoang Ben
Hoang Ben - avatar
0
C++,HTML
25th Oct 2021, 5:15 PM
Ondrej Kaura
Ondrej Kaura - avatar
0
C++,Python,java
1st Nov 2021, 7:46 AM
Chowdaiah Madaka
- 1
Use searchbar, you will find a lot good answers
23rd Oct 2021, 7:21 PM
Shadoff
Shadoff - avatar
- 1
C++ , python and java
24th Oct 2021, 9:27 AM
Ibrahim Aminu
Ibrahim Aminu - avatar
- 1
C++
25th Oct 2021, 4:16 AM
Aswini Avula
Aswini Avula - avatar
- 1
C++
25th Oct 2021, 7:28 AM
Tanisk Nirala
Tanisk Nirala - avatar