• Advertisement
Sign in to follow this  

[python] A good game engine?

This topic is 1929 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,

I was thinking of creating a game in python.
A minecraft clone. (Please don't ask me why clone, or why python[img]http://public.gamedev.net//public/style_emoticons/default/biggrin.png[/img] )
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? Edited by ttouch

Share this post


Link to post
Share on other sites
Advertisement
You could try [url="http://www.panda3d.org/"]Panda3d[/url], 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 [url="http://www.volumesoffun.com/polyvox-about/"]PolyVox[/url] which might also be worth trying to track down.

Share this post


Link to post
Share on other sites
ok, thank you!
can you explain me a bit the voxel-based thing?
I'm a noob in graphics programming

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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! :)

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
what did you just said XD
no idea of all this!
if polyvox is just the right lib for me, i will build it!

Share this post


Link to post
Share on other sites
If you want to build PolyVox and investigate the PolyVox bindings, your first step will be learning about [url="http://www.cmake.org/"]CMake[/url] -- [url="http://www.cmake.org/cmake/help/documentation.html"]the documentation[/url] would probably be a good starting point. They also have [url="http://www.cmake.org/Wiki/CMake"]a wiki[/url].

Share this post


Link to post
Share on other sites
You should give the Blender Game Engine a try:

My BGE video tutorials: [url="http://www.gamedev.net/topic/625003-video-tutorials-blender-game-engine/"]clicky[/url].

If you don't know Python: My Python video tutorial series: [url="http://www.youtube.com/playlist?list=PLDFB7FFF90EE6F0C1"]clicky[/url].

Hope that helps.

Share this post


Link to post
Share on other sites
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. Edited by 6677

Share this post


Link to post
Share on other sites
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)

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement