Traceback (most recent call last):
File "main.py", line 11, in <module>
from gui import *
File "/.../P3DE/gui.py", line 4, in <module>
import sys, os, string, PyCEGUI
ImportError: No module named PyCEGUI
Anyway, some words about your deployment.
You shouldn’t put useless files inside your package. pyc files, log files, bak files, komodo files, …
Stick with a clear nomenclature. I would expect to find project information in files named like README, INSTALL, AUTHORS, LICENSE, CHANGELOG, …
If you want to distribute “only” the source version, write an installation guide (a guide for the installation of dependencies).
But, to be honest, I think you’d better deploy even a p3d version of your editor, too.
Put some screenshots of your work here, this will promote your work better.
What’s the license? If it’s open source, would you mind putting it into a version control system on sourceforge or the like? this way we could browse the code without downloading anything and the development process would be more transparent.
Hi I’ve installed PyCEGUI and downloaded your code. Executing main.py gave no response at all. I’ve run it with the console and executing it with panda’s ppython gives this result:
ImportError: No module named PyQt4.QtCore
I also ran it with my default python with the same result.
Using pythonw had no effect whatsoever: No error message but also nothing else.
I’m using windows 7 64bit. I’ve installed a running copy of panda3d which works great and python 3.2 as well as python 2.7. The installer of PyCEGUI detected python 2.7 on my pythonpath and I installed PyCEGUI in the directory the installer suggested.
Since I’m such a noob coding I really don’t want to implement many GUI elements.
So what? How tha f**k do we use this “thing”?
Very simple! RRRRage shortcut!!
Tab - Toggle view from scene exploring to edit mode
Scene exploring mode:
Mouse - move camera
W - Move camera
A - Move camera
S - Move camera
D - Move camera
T - take off
G - land
EditMode:
Mouse - de/selection
S - Scale objects in all three dimensions
X - Move object along the x axis
Y - Move object along the y axis
Z - Move object along the z axis
H - Rotate object heading
P - Rotate object pitching
R - Rotate object rolling
D - Duplicate objects (to implement)
W - Set wireframe attribute (to implement)
L - Open submode AddLight
P - point light
D - directional light (to implement)
A - ambient light (to implement)
E - Erase selected objects"
“Very simple! RRRRage shortcut!!” means nothing to me at all. In order to use “TAB” to switch to edit mode from game mode, one has to be able to start game mode first. There does not seem to be a way to do that.
This contains the latest version which erased the dependency on pyCEGUI and works with pyQT and panda3d.
As you can see, pyQT is way more powerful, flexible and easy to set up on your installation (cegui needed a scratch compile). I’m recently back to work on this so there are possible updates in the near future
If you find malfunctioning and/or experience any problem feel free to reply to this thread or open a ticket on google code.