Jump to content

  • Log In with Google      Sign In   
  • Create Account


[python] A good game engine?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
13 replies to this topic

#1 ttouch   Members   -  Reputation: 111

Like
0Likes
Like

Posted 06 October 2012 - 03:21 PM

Hello,

I was thinking of creating a game in python.
A minecraft clone. (Please don't ask me why clone, or why pythonPosted Image )
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, 06 October 2012 - 03:34 PM.


Sponsor:

#2 Black-Rook   Members   -  Reputation: 1563

Like
0Likes
Like

Posted 07 October 2012 - 12:34 AM

If you're looking for a 3D game engine for python, give Panda3D a try.

http://www.panda3d.org/
GameDev Journal: http://www.gamedev.n...-rooks-journal/

OpenChess - 1.0 done!

Classic RPG #1 - Task 9 -> January 1st 2013

#3 jbadams   Senior Staff   -  Reputation: 18180

Like
2Likes
Like

Posted 07 October 2012 - 12:36 AM

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.

#4 ttouch   Members   -  Reputation: 111

Like
0Likes
Like

Posted 07 October 2012 - 02:18 AM

ok, thank you!
can you explain me a bit the voxel-based thing?
I'm a noob in graphics programming

#5 jbadams   Senior Staff   -  Reputation: 18180

Like
1Likes
Like

Posted 07 October 2012 - 02:28 AM

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.

#6 ttouch   Members   -  Reputation: 111

Like
0Likes
Like

Posted 07 October 2012 - 03:19 AM

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! :)

#7 jbadams   Senior Staff   -  Reputation: 18180

Like
2Likes
Like

Posted 07 October 2012 - 03:42 AM

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.

#8 ttouch   Members   -  Reputation: 111

Like
0Likes
Like

Posted 07 October 2012 - 03:57 AM

what did you just said XD
no idea of all this!
if polyvox is just the right lib for me, i will build it!

#9 jbadams   Senior Staff   -  Reputation: 18180

Like
1Likes
Like

Posted 07 October 2012 - 04:33 AM

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.

#10 Goran Milovanovic   Members   -  Reputation: 1104

Like
2Likes
Like

Posted 07 October 2012 - 05:20 AM

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 |
+---------------------------------------------------------------------+

#11 ttouch   Members   -  Reputation: 111

Like
1Likes
Like

Posted 08 October 2012 - 04:53 AM

I think that I will go for polyvox

#12 6677   Members   -  Reputation: 1058

Like
1Likes
Like

Posted 08 October 2012 - 02:54 PM

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, 08 October 2012 - 02:55 PM.


#13 ttouch   Members   -  Reputation: 111

Like
0Likes
Like

Posted 09 October 2012 - 12:38 AM

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)

#14 6677   Members   -  Reputation: 1058

Like
0Likes
Like

Posted 09 October 2012 - 12:17 PM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS