Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lordgordon

Pages: [1]
1
General / CEGUI and View
« on: February 05, 2010, 09:09:37 pm »
Ah, I miss this fact: I never used CEGUI so far! :)

thanks

2
General / CEGUI and View
« on: February 05, 2010, 09:08:37 pm »
Dear developers,
I've started learning this interesting library and I'm writing a simple C++ videogame. So far I made a simple sprite engine with mouse controlled movements. Now it's time to try a simple GUI. I choose CEGUI. Installation and integration into my SFML project works perfect. But I ask to this forum for a question.

How to integrate the sf::View into CEGUI? In my windows I want an upper CEGUI frame with all game informations, and the rest of the window the sf::View with the real game. Now I have both, but the frame is over the view, so it covers the sprites. Someone has an example to do this better? Or I have to hardcode the check of the object position in order to avoid the problem? I'm sure exist a simple and elegant solutions.

Many thanks for your help!

Best regards,

BTW: all the code is GPLv3 avaiable at https://sourceforge.net/projects/chasingtarget

Nicholas Fiorentini

Pages: [1]