8 Réponses
+ 8
Choosing between c++ and python for game depends upon what type of game do you want to create, both languages have their strengths and weaknesses.
C++ is known for its high performance and low-level memory management, have many powerful game development tools like DirectX, Openg,etc.
While
Python is much easier to learn and write as compare to c++. Python is recommended by mostly senior for beginners. Python code is easy to understand and its simplicity allow to to focus more on game logic and designs.It has some libraries like panda3d, pygame for developing 2d games in python.
+ 5
If you want to write games like mobile games, or Steam games, you'll need to use a game engine. There are three major game engines. Are are free for beginners. Unreal, Unity, and GoDot.
Unreal uses C++
Unity uses C#
Godot uses GdScript, which is similar to Python, or C#
Python is easier to learn and a great first language. C++ is a faster and more advanced language, however, it's a bit harder to learn than Python. Still achievable though. If you have never programmed anything before, it's usually easier to start with Python.
If all you care about is game development, I would suggest doing a course in Python. Then download GODOT and learn the GDSCRIPT that comes with it. It is also easy, very similar to Python, and you can find hundreds of free tutorials on GoDot and GdScript.
If you are trying to do this on a phone and not a computer, you can do Python or basic things in other languages, but game development will be a challenge.
+ 3
To become a good programmer or game developer you must read more than questions , when you need others experience,you can ask
+ 2
For game development, c++ is the official language and if you are serious with game development, you will learn maths and many game techniques.
Because some games is hard, you will use game engine. Simple games like 2048, tilegame, flappy bird etc will not need game engine
+ 1
Thank you for giving me your answers, I benefited from you
+ 1
مرحبا
0
If you want to write games like mobile games, or Steam games, you'll need to use a game engine. There are three major game engines. Are are free for beginners. Unreal, Unity, and GoDot.
Unreal uses C++
Unity uses C#
Godot uses GdScript, which is similar to Python, or C#
Python is easier to learn and a great first language. C++ is a faster and more advanced language, however, it's a bit harder to learn than Python. Still achievable though. If you have never programmed anything before, it's usually easier to start with Python.
If all you care about is game development, I would suggest doing a course in Python. Then download GODOT and learn the GDSCRIPT that comes with it. It is also easy, very similar to Python, and you can find hundreds of free tutorials on GoDot and GdScript.
If you are trying to do this on a phone and not a computer, you can do Python or basic things in other languages, but game development will be a challenge.
0
For game development, c++ is the official language and if you are serious with game development, you will learn maths and many game techniques.
Because some games is hard, you will use game engine. Simple games like 2048, tilegame, flappy bird etc will not need game engine