Python scripting module

Discussion regarding the development of CEGUI itself - as opposed to questions about CEGUI usage that should be in the help forums.

Moderators: CEGUI MVP, CEGUI Team

User avatar
Nitro
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Wed Jan 12, 2005 12:06

Python scripting module

Postby Nitro » Sun May 07, 2006 15:03

Hello,

I just finished a first version of a python scripting module for cegui, based on the pycegui part of pyogre and similar to the lua one. It can run demo 8 without problems.
I wanted to ask if there's any demand that this is added to cegui. If yes, then please tell me how I should contribute the stuff (I'm on windows and running vc 7.1).

-Matthias

EDIT: I should probably mention that this doesn't need ogre or anything special, it can be used with any renderer

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Mon May 08, 2006 16:18

Hi there :-)

Thanks for contributing :-)

You can patch it to sourceforge:
http://sourceforge.net/tracker/?func=ad ... tid=605424

And our Patch Department (C)(TM) will have a look at it ;-)

Seriously, there was an idea to add "addons" to cegui, just like Ogre does for example. We need to give that another shot...

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Postby lindquist » Mon May 08, 2006 16:24

We already have a cegui addons cvs repository. I could see this in there :)

User avatar
Nitro
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Wed Jan 12, 2005 12:06

re

Postby Nitro » Mon May 08, 2006 16:29

I am a little afraid that almost nobody knows o bothers about that addon repository and most stuff in there just rots while new cegui versions are released. Seen from this perspective it would probably be better in the main trunk, but I also understand that this may clutter the main cegui part too much. Anyways, what should I do to add this now? Submit a patch against latest SVN, submit a patch against 4.1 (that's what i used so far) or just dump the code into that addons repository?

-Matthias

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Postby lindquist » Mon May 08, 2006 16:37

I agree that the addons rep is severly under-advertised. We could try to change this though.
As CEGUI grows bigger, addons will become more and more relevant.
I'm not not completely against adding a new scripting module to the trunk, but it would need to be maintained.

By giving cvs write acces to a addon module would make it very easy for you to maintain it.

Another thing is that we're going to be changing to the MIT license, so all new code that goes in the trunk must be MIT. Whether or not this is an issue you would know.

Either way you could post a zip,patch or whatever you like so we can all have a look :)

User avatar
Nitro
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Wed Jan 12, 2005 12:06

re

Postby Nitro » Wed May 10, 2006 17:47

Hey lindquist,

I've zipped everything up here: http://www.dr-code.org/nitro/cegui_mk2.zip . Read the notes.txt in the toplevel folder.
Does it run for you (and others)? Anything that I should add/change?

-Matthias

Kris
Just popping in
Just popping in
Posts: 1
Joined: Thu May 11, 2006 08:03

Postby Kris » Thu May 11, 2006 08:53

Hello. I'm experimenting with different engines/renderers/GUIs for my project, and CEGUI looks the best -- but I'm using Python, and would like to have the option of using Pygame (ie. SDL). I know CEGUI works with PyOGRE now, but will the code in this thread let me use it with Pygame? If so, how?


Return to “CEGUI Library Development Discussion”

Who is online

Users browsing this forum: No registered users and 9 guests