Skip to main content
GameDev.net gamedev.net
🔒 Locked

[python] A good game engine?

Started by ttouch Oct 6, 2012 at 9:21 PM 12 replies 5.9k views
Original Post
ttouch
ttouch
Hello,

I was thinking of creating a game in python.
A minecraft clone. (Please don't ask me why clone, or why pythonbiggrin.png )
I want the game to be: 3D, everything cubified, maybe an unlimited world and of course first person.
Which is a good, open source game engine for me? or should i go on with pure pyopengl or pyglet?
jbadams
jbadams
You could try Panda3d, although if you're after a voxel-based world similar to Minecraft you may well be better off creating your own implementation based off of PyOpenGL or Pyglet.

I believe there was some work on a Python binding for PolyVox which might also be worth trying to track down.
- Jason Astle-Adams
ttouch
ttouch
ok, thank you!
can you explain me a bit the voxel-based thing?
I'm a noob in graphics programming
jbadams
jbadams
Voxels are conceptually like a 3d pixels, or blocks you can build a world out of. They're responsible for what you call the "cubified" look of Minecraft.

If you Google the term you should find plenty of reading material on the topic.
- Jason Astle-Adams
ttouch
ttouch
a! thank you!
any resource for polyvox and python? (whith a tiny bit of searching i wasn't able o find anything...)
polyvox seems to be what i was searching for, because an example project in the website is a minecraft clone!
jbadams
jbadams
A normal build of the PolyVox library with CMake should also be able to generate Python bindings via SWIG if you have the correct dependencies installed, although my understanding is that the Python binding is commented out in the CMake configuration by default. I'm not sure how good the bindings are though, and it doesn't look like there's much provided in the way of documentation. If you're still a beginner it might be a little difficult to approach unless you can put in some time learning about CMake and SWIG first.
- Jason Astle-Adams
ttouch
ttouch
what did you just said XD
no idea of all this!
if polyvox is just the right lib for me, i will build it!
jbadams
jbadams
If you want to build PolyVox and investigate the PolyVox bindings, your first step will be learning about CMake -- the documentation would probably be a good starting point. They also have a wiki.
- Jason Astle-Adams
Goran Milovanovic
Goran Milovanovic
You should give the Blender Game Engine a try:

My BGE video tutorials: clicky.

If you don't know Python: My Python video tutorial series: clicky.

Hope that helps.
+---------------------------------------------------------------------+ | Game Dev video tutorials  ->   http://www.youtube.com/goranmilovano | +-------------------------------------
ttouch
ttouch
I think that I will go for polyvox
6677
6677
Polyvox on python isn't complete.

PyOpenGl, panda or python-ogre seem to be the common ones. python-ogre is for python 2 though not python 3 (transitioning between the 2 is dead simple though). For raw FPS openGL is the fastest. overall though panda is probably faster once you count audio etc.
ttouch
ttouch
I created a topic in the polyvox forums: http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=448
panda is out, I require I library that will be able to be compiled into a standalone binary.
I will search about python-ogre (I don't care about py 3)
6677
6677
What will you be using to compile the binary and to what platform(s)?

Panda can be distributed as a binary build, I don't know how though (never used python for games development outside of trying pygame once).

It may be worth looking at one of the more "exotic" options and using something like ironPython with a .net library such as XNA or Jython with JMonkey engine or something. ironPython I have used a fair bit and I love it, full power of .net/mono with python (slightly faster too, not massively though). Jython I haven't tried before.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.