Question:
What kind of programs (games) can Python make?
Boyyini
2010-04-09 19:46:28 UTC
I am an aspiring programmer. I have gone through a few video tutorials for Java, C#, C++, Python and Visual Basic.
I must say Python is my favorite so far. There isn't really anything that doesn't make sense to me, and I know what everything means and does.
I still don't know what each of the languages do yet... All I have gotten to see is the fundamentals, I have only seen text-based programs. And I don't really care about text-based programs...

So. Can Python be used to make games like World of Warcraft and Call of Duty? I know those are a little above "Hello World!" but... Can you make 3D games like that using Python?
Four answers:
2010-04-12 00:08:40 UTC
Sure, you can make games in Python, even 3D ones! Check out PyGame (www.pygame.org) for an excellent set of Python modules for game writing. Now, a game of the caliber you're asking about...well, no. You can't really write games like that entirely in Python. Python is an interpreted language, and it just won't be as fast as you need if you want bleeding-edge 3D graphics with fancy pixel shaders, etc. For that kind of stuff, you're going to want a compiled language like C++, which can get much, much faster performance.



If high-quality 3D graphics are absolutely necessary to you, check out Microsoft's XNA, which uses C#. It's definitely going to be more tedious in some ways than Python, but that's the sacrifice you need to make for performance. Trust me, though, if you're still learning the basics, you don't need to worry about implementing the latest and greatest visual techniques. Try making some simple 2D games with PyGame before you try your hand at something more complex. Another piece of advice: when you do decide to try your hand at 3D graphics programming, you're going to want to learn a lot of 3D math. One of the best books I've found on the subject is "3D Math Primer for Graphics and Game Development" by Dunn & Parberry. Check it out if you're interested; it'll make learning 3D programming a lot less frustrating.
2016-11-09 16:24:29 UTC
Making Games With Python
2016-04-10 13:53:38 UTC
For the best answers, search on this site https://shorturl.im/av1c7



No. Because competent programmers do not write games in Python. They all use decent languages instead. Trying to write a game in Python is kind of like trying to build a treehouse out of Duplo; it might be possible with a lot of work, but the end result won't be as good as if you started with the right tools.
?
2010-04-09 20:08:22 UTC
yes 3d games can be created using python. now call of duty? well something like that would take tons of experience (at least ten years) several months to possibly even years of making and testing it and it would probably be much easier to do in C++ but it could still probably be done in python.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...