Hi to all. This is my first message here.
I'm trying to write a my own space game using ogre, and i'm using CEGUI for the gui, because it seems very simple to use it.
Now i'm in a lazy period and i don't have so much inspiration to write c++ code, so i want to try to use this days to create a more appropriate look'n'feel for my game. I'm using the Taharez but is time to use something of more personal.
I've tried to read something on the wiki but i'm lost, so i've tried to take the TaharezLook.tga with PaintShopPro and repaint over it. But it doesn't works: it looks like that there are somewere also the "mask" of every component (i.e. the pointer), so i can change the pixel inside the old pointer, but i cannot change the "shape" of the pointer.
So what is the right (and easy i hope) way to customize a look'n'feel? I don't need some esoteric features.. i need only to change a bit the Taharez graphics.
Thank you and sorry for the faq.
[newbie] Customizing a skin
Moderators: CEGUI MVP, CEGUI Team
Re: [newbie] Customizing a skin
Please post in the appropriate sub-forum next time. Thank you.
In regards to this issue, the area for sub-images are defined in the .imageset files; in this case TaharezLook.imageset. You can edit these either manually via a text-editor, with the unsupported CEImagesetEditor, or with Kulik's new CEED editor.
In any case, the .imageset files define the left, top, width, and height of each individual sub-image within the image. If you need to expand the area of the sub-image, then you will need to update the .imageset file as well. If you are maintaining the size, and only changing the shape, you should use alpha-transparency to create the shape / mask the unneeded pixels.
it looks like that there are somewere also the "mask" of every component (i.e. the pointer), so i can change the pixel inside the old pointer, but i cannot change the "shape" of the pointer.
In regards to this issue, the area for sub-images are defined in the .imageset files; in this case TaharezLook.imageset. You can edit these either manually via a text-editor, with the unsupported CEImagesetEditor, or with Kulik's new CEED editor.
In any case, the .imageset files define the left, top, width, and height of each individual sub-image within the image. If you need to expand the area of the sub-image, then you will need to update the .imageset file as well. If you are maintaining the size, and only changing the shape, you should use alpha-transparency to create the shape / mask the unneeded pixels.
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!
-
- Not too shy to talk
- Posts: 24
- Joined: Mon Jul 27, 2009 09:53
- Location: Germany
- Contact:
Re: [newbie] Customizing a skin
Hi PdG!
Surely u can change the shape of the pointer, but u have to change the alpha mask. Here's a tutorial about alpha masks in PSP, there should be some more on the net (Google is your best friend ): http://www.axialis.com/tutorials/tutorial-misc002.html
Best regards
radical-dev
Surely u can change the shape of the pointer, but u have to change the alpha mask. Here's a tutorial about alpha masks in PSP, there should be some more on the net (Google is your best friend ): http://www.axialis.com/tutorials/tutorial-misc002.html
Best regards
radical-dev
Who is online
Users browsing this forum: No registered users and 46 guests