Hack Forums
[Python] Python + OpenGL Game - Cube Spawner - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Python] Python + OpenGL Game - Cube Spawner (/showthread.php?tid=5554224)



Python + OpenGL Game - Cube Spawner - TheWarOwl - Feb 17, 2017

Hey Guys!

So I saw this post not too long ago asking if it would be plausible to make a game in python with OpenGL.

The thread you can find HERE:

I decided to research it a little bit as I'm horribly unfamiliar on the topic, but I did understand 3D space because of my familiarization with Blender3D

After some practice and following a few tutorials this is what I came up with 🤗

[Image: 844f7a72353504b08f85e48475ea427f.gif]
Shout out to harrison@pythonprogramming for the awesome vids on the topic.

REQUIREMENTS:
PYTHON 3
PyGame - (pip install pygame)
PyOpenGL - (pip install PyOpenGL PyOpenGL_accelerate)

SOURCE CODE


* - Infamia - Feb 18, 2017

this counts as a 'game'?

welldone anyway i guess


* - TheWarOwl - Feb 18, 2017

(Feb 18, 2017 03:57 AM)Infamia Wrote:  this counts as a 'game'?

welldone anyway i guess

I was gonna make it one, honestly kinda gave up on it :/ I just wanted to see if it was possible


* - obby - Feb 18, 2017

I'm sure this will help people learn how to use OpenGL libs, thanks for the thread.