Giter Site home page Giter Site logo

Comments (6)

cadaver avatar cadaver commented on May 2, 2024

LibRocket is not actively developed any more, which makes it unappealing to integrate, as any bugfixes would then be ours to do. I also evaluated it one year ago for another project and came to the conclusion that it basically still is a custom HTML dialect, no matter what the documentation says. At the time it also lacked common features such as alpha fading of UI elements. Due to the HTML layouting rules it was somewhat unclear how to query the elements for their exact size & positioning.

I will answer similarly to this as the MyGUI question: if you think you need LibRocket, try integrating it. If your experience on it is extremely good, and you manage to expose the element classes and events to scripting in a clean manner, make a pull request and it will certainly be considerd.

from urho3d.

Canardian avatar Canardian commented on May 2, 2024

I think the UI of Urho3D is quite perfect, and doesn't need a replacement.

from urho3d.

shackra avatar shackra commented on May 2, 2024

But, there is people using Librocket for real life games. How it comes that you came to such conclusion? Also the last commit was two months ago, so it is a active project anyway (I'll grant that it isn't active project in development if the last commit where 6 months ago).

The objections seems weird to me. But then I'll master my C++ integrating Librocket to this project. I need a replacement for BGE in the future.

from urho3d.

rasteron avatar rasteron commented on May 2, 2024

Hi Jorge,

Fortunately there is already one that has been done in C++ only so you might want to check out Mike Nelson's implementation. It's NOT a full integration with Script API and all but it will definitely get you started.

https://github.com/realrunner/urho3d-librocket

I agree with the guys though, Urho's built-in UI is perfect for the engine, and I'm a web guy used to HTML/CSS stuff like libRocket.

from urho3d.

cadaver avatar cadaver commented on May 2, 2024

Ah sorry, I didn't check the git repository, I just looked at the long time from latest release, the forums that were filled with spam messages and some forum messages suggesting it was abandoned.

from urho3d.

cadaver avatar cadaver commented on May 2, 2024

I will close this for now, as integration of LibRocket by us is unlikely. Will wait for your work & findings.

Note that it's certainly easier to integrate LibRocket into a stand-alone Urho C++ project, as then you can for example use two event systems (LibRocket's and Urho's own) side by side if it doesn't bother you, and you necessarily don't have to care of the script bindings at all.

For "official" integration it would be quite crucial to be able to use Urho's inbuilt events for the UI elements too, and that's probably easier said than done. One suboptimal solution would be to wrap every UI element class into a corresponding Object subclass.

from urho3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.