Difference between revisions of "CEED"

From CEGUI Wiki - Crazy Eddie's GUI System (Open Source)
Jump to: navigation, search
(Overview)
Line 32: Line 32:
 
  python CEED.py
 
  python CEED.py
  
== Overview ==
+
You will see a window like this:
 +
 
 +
[[Image:Ceed_main_window.png]]
 +
 
 +
== Project ==
  
 
Unlike old editors (CELayoutEditor and CEImagesetEditor), CEED has a notion of a project. Each project has its own combination of resources and runs its own CEGUI version to render your CEGUI resources. This allows you to have more that one scheme loaded at a time.
 
Unlike old editors (CELayoutEditor and CEImagesetEditor), CEED has a notion of a project. Each project has its own combination of resources and runs its own CEGUI version to render your CEGUI resources. This allows you to have more that one scheme loaded at a time.
 +
 +
To create a new project, you should go to File -> New project.
 +
 +
The dialog appears. You should input project name and location of the ".project" file. '''Note''': parent directory of the ".project" file must exist.
 +
 +
[[Image:Ceed_new_project.png]]
 +
 +
After you press OK, a warning appears:
 +
 +
[[Image:Ceed_new_project_warning.png]]
 +
 +
When you press OK, CEED sets up the paths to usual CEGUI resource directories. It suggests that the directory with ".project" file contains "animations", "fonts", and other CEGUI directories. If you got the above warning, your directory does not contain the necessary "scheme" directory. We will specify correct paths later.
 +
 +
== Project settings ==
 +
 +
Go to Edit -> Project settings.
 +
 +
[[Image:Ceed_project_settings.png]]
 +
 +
CEED can create assets for CEGUI versions: 0.6 to 0.8. 0.7 is the latest stable, so select it.
 +
 +
Point "Resource directory" to the place where "fonts", "scheme" and the rest directories are located, then press "Apply". It will change the paths below.
 +
 +
Press OK and it might load your resources. It failed for me [CONTINUE HERE]
 +
  
 
== Notes ==
 
== Notes ==
  
 
Currently you may have problems with Imagesets that use TGA, since some versions of Qt may be built without TGA support. CEGUI 0.8 has all imagery as PNG (CEGUI 0.7 used TGA), and we advise you to use PNG instead of TGA.
 
Currently you may have problems with Imagesets that use TGA, since some versions of Qt may be built without TGA support. CEGUI 0.8 has all imagery as PNG (CEGUI 0.7 used TGA), and we advise you to use PNG instead of TGA.

Revision as of 15:46, 23 September 2011

Upcoming CEGUI unified editor. Currently in the early stages. Includes project management and multi-file/multi-tab editing.

Install

CEED depends on an yet unreleased CEGUI 0.8, so you will need to set up a special environment to run it.

Original post at the forums

Dependencies

You need CMake, Python 2.6, PyOpenGL, PySide (+ utils/tools), Boost.Python.

Debian Wheezy

PySide is part of Sid at the moment, so you have to add its repository address to your /etc/apt/sources.list

apt-get install cmake python-opengl pyside-tools boost-python

Build CEGUI and PyCEGUI

mkdir -p cegui_mk2/build 
hg clone http://crayzedsgui.hg.sourceforge.net/hgroot/crayzedsgui/cegui_mk2 cegui_mk2/cegui
hg clone http://crayzedsgui.hg.sourceforge.net/hgroot/crayzedsgui/CEED
cd cegui_mk2/build
cmake -DCEGUI_BUILD_PYTHON_MODULES=ON ../cegui
make

Launch

cd CEED
./runwrapper.sh
python CEED.py

You will see a window like this:

Ceed main window.png

Project

Unlike old editors (CELayoutEditor and CEImagesetEditor), CEED has a notion of a project. Each project has its own combination of resources and runs its own CEGUI version to render your CEGUI resources. This allows you to have more that one scheme loaded at a time.

To create a new project, you should go to File -> New project.

The dialog appears. You should input project name and location of the ".project" file. Note: parent directory of the ".project" file must exist.

Ceed new project.png

After you press OK, a warning appears:

Ceed new project warning.png

When you press OK, CEED sets up the paths to usual CEGUI resource directories. It suggests that the directory with ".project" file contains "animations", "fonts", and other CEGUI directories. If you got the above warning, your directory does not contain the necessary "scheme" directory. We will specify correct paths later.

Project settings

Go to Edit -> Project settings.

Ceed project settings.png

CEED can create assets for CEGUI versions: 0.6 to 0.8. 0.7 is the latest stable, so select it.

Point "Resource directory" to the place where "fonts", "scheme" and the rest directories are located, then press "Apply". It will change the paths below.

Press OK and it might load your resources. It failed for me [CONTINUE HERE]


Notes

Currently you may have problems with Imagesets that use TGA, since some versions of Qt may be built without TGA support. CEGUI 0.8 has all imagery as PNG (CEGUI 0.7 used TGA), and we advise you to use PNG instead of TGA.