3 Respostas
+ 11
I'm afraid there is not. Python can access OpenGL API to tackle 3D transformations and it goes quite alright, take a look:
https://www.instagram.com/p/BQ-8ubDDTNi/
But it's nowhere near engines like Unreal or Unity, besides it's not a compiled code, thus will never be fast enough. C++/C# are far better suited for this.
0
A quick Google for list of games written in Python shows quite a few games. Some of them use Python as main language, some use it on limited capacity. They are popular games and will stay so for a while.
Such projects don't wake up one day and go on a whim and remove Python code for the sake of it. They use Python for their own, non trivial benefits. So these games will keep Python in gaming for the foreseeable time to come.
Beyond that, Python is improving in many respects. Speed is most definitely one of them. Also, what C was to the many assembly languages 40 years ago, Python is today for many low level languages that can be used to generate real fast programs. Meaning, while those fast languages will be used in games, there will inevitability many places where speed will make less sense than beauty and readability. Python is undisputed here. I see no language anywhere close to dethroning Python here. Games and beyond.
0
thanks , but i disagree with the speed of Python , because after creating a exe of the app it will work as fast as a compiled language work ,besides many big games are created in Python like battle field 2,
civilization 4 ...etc.