+ 6

Can I develop my own Video game using Python

5th Oct 2017, 4:56 PM
Nii_Gbonafah
Nii_Gbonafah - avatar
17 odpowiedzi
+ 9
There is a great module pygame for making 2D sprite-based games easily. For 3D games, you can use Panda3D or pyglet. I used the latter for my 3D labyrinth game, check it out: https://www.instagram.com/p/BQ-8ubDDTNi/
5th Oct 2017, 6:50 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 9
I just watched and learnt how to do it with this link here: https://youtu.be/Hqg4qePJV2U I then combined it with my labyrinth generator, added some keyboard and mouse control and downloaded some textures to make the dungeon maze. All took me five-six hours. Python is Power, I tell you... 🐍
6th Oct 2017, 6:26 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 6
@Netkos Thanks, man. Been doing some labyrinth explorations back then. OpenGL is really easy with pyglet :)
5th Oct 2017, 9:04 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 5
@Kuba Nice bro! I just watched the vid, will check it out further when I'm not at work. That brings back a lot of great memories from the early 90s. Nicely done bro.
5th Oct 2017, 7:28 PM
AgentSmith
+ 4
Pygame is not the only gaming‐focused library. You can use several other options. One example is Pyganim, which is a sprite animation module built on top of the PyGame infrastructure, but easier to use. Albow is a GUI toolkit specii cally targeted at building games with PyGame. Many other packages are written on top of PyGame, bearing witness to its popularity as a foundation games framework. Of course, you don’t have to use PyGame. Other packages access the low‐level hardware and libraries. PyOpenGL, as the name implies, provides access to the OpenGL libraries. One feature of gaming that is also supported is the back‐end physics engines needed to model the real‐world behavior of physical objects. Python also has tools to support this in the shape of packages like pymunk for 2‐D modeling. Panda3d and the Python Computer Graphics Kit (cgkit ) provide support for 3‐D. In addition to graphics, most games also need sound. For that you can use built‐in modules in the standard library including aifc , wave , and sunau . The winsound module provides low‐level access to Windows sound facilities. On top of these low‐level libraries, the gaming community has built several packages to assist in generating suitably exciting sounds to accompany your action. Many other libraries are available, too. In fact, the number of options available for the games programmer can be bewildering. You can i nd a useful summary at https://wiki.python.org/ moin/PythonGameLibraries .
6th Oct 2017, 6:37 PM
Mohammed Chami
Mohammed Chami - avatar
+ 4
we should ask you a question before? do you want to focus on building games? or build games just time to time because you need to build apps and tools? answer: if you wanna focus only on on making games then go learn unity it uses c# language, it is the best for indie game dev. if some times games and others apps and tools then python is for you.
6th Oct 2017, 6:45 PM
Mohammed Chami
Mohammed Chami - avatar
+ 3
Sure.
5th Oct 2017, 4:59 PM
AgentSmith
+ 2
Visual Studio is an IDE, not a language. So to be accurate, here is my legit opinion on making games. Learn one of these: C# Java C++ Utilize one of these engines: Unity (uses C#) Unreal (uses C++) https://www.sololearn.com/Discuss/761432/how-to-become-a-game-developer ^ more info I posted the other day. However, to be specific to your questions, YES you can create games with Python. If that's your choice, it's still a viable one if you want to do that. Personally, I don't like Python, but it's still a capable language. Everything I mentioned above also worked on mobile. Mobile is far from being limited to just Java. The main engine giants today are Unity and Unreal, neither of which uses Java, and both of which work with mobile.
5th Oct 2017, 5:33 PM
AgentSmith
+ 2
you know, blender is pretty cool, and that uses python
6th Oct 2017, 7:49 PM
TAL
+ 2
Check out the Godot Engine. It's very powerful and the current version uses GDscript which is basically python with some special functions unique to that engine. the next version (3.0) let's you use straight python.
7th Oct 2017, 11:18 AM
Piers
+ 1
yeah you can but 1st it is preferred to learn java and XML if you want to develop an android games if iOS then swift and pc then visual studio
5th Oct 2017, 5:09 PM
Aditya
Aditya - avatar
+ 1
so should I stop Python?
5th Oct 2017, 5:15 PM
Nii_Gbonafah
Nii_Gbonafah - avatar
+ 1
no no compleat it and then learn core python and then java and xml
5th Oct 2017, 5:16 PM
Aditya
Aditya - avatar
+ 1
cool, what do you guys say if we create a python game in group, it could be whatever a game of our election, and Kuba could guide us, who is accord
6th Oct 2017, 10:50 AM
ysraelcon
ysraelcon - avatar
0
you could use pygame framework to create games with python
5th Oct 2017, 5:47 PM
Mohammed Hany
Mohammed Hany - avatar
0
Check out Unity!
6th Oct 2017, 6:21 PM
Kyra Michon
Kyra Michon - avatar
- 1
@@ kuba.. very cool game.. & u are my py_motivator.. python rules😂😂😂
6th Oct 2017, 2:48 AM
sayan chandra
sayan chandra - avatar