+ 4

how do I make a game using Python and how do thread?

I want to make a basic or 3D game using Python and a video game also using Python. And I want to learn how to make threads. Can you help me? Please?

21st Oct 2016, 11:11 AM
Edwin Pratt
Edwin Pratt - avatar
4 Answers
+ 3
I dunno about threads, but if you just want to make any game while not experienced yet in programming, I'd keep it really simple at first, and then make something slightly more complex when you've got the hang of it. I'm starting with an old school text adventure game, so I just need to think of programming skill rather than also the graphics and animation. I wouldn't want to build all the 3d rendering as well - although if you do want to work on a 3d game there are probably libraries for that, Google is your friend (or any other search engine) just search for "python 3d game engine"
22nd Oct 2016, 8:52 PM
Phil
Phil - avatar
+ 3
threads are a way of making use of multi-core processors (and therefore your game would run / load stuff faster on devices that have multiple cores), and as far as I'm aware using classes doesn't really give you that benefit - although they do give you other benefits like clarity in your code which helps big projects easier to understand and therefore easier to expand and debug. Both would be good to know. Do a web search for python threads and I'm sure you'll find something
24th Oct 2016, 10:52 AM
Phil
Phil - avatar
+ 2
instead of of using threads you could also use classes
22nd Oct 2016, 11:19 PM
Edwin Pratt
Edwin Pratt - avatar
+ 2
I would recommend picking up c# as well if you are looking to do much programing for video games. a good start for a development environment would be unity. it's a little heavy in over head, but it handles multi platform development in better ways and more effectively for the budget than anything else out there. As for your question, your two points are widely different. If you are asking how to make a video game....Youtube. but if you are just looking to get started with threads, you and me share the same boat ;) I haven't worked with python yet, but after I really get C# down, I'll look into it!
10th Jan 2017, 12:13 AM
Aaron Schocke
Aaron Schocke - avatar