Uberman Posted March 27, 2012 Share Posted March 27, 2012 I'm not anywhere near this point yet with my little test game, but I'm thinking ahead a bit to the point where I'm going to need to do 2D overlays (e.g., a GUI for the game). I was wondering if anybody had attempted to embed -- or having attempted, had any success embedding -- the LE engine in a "foreign" framework? I'm thinking of something like Qt, that would provide a wrapping application framework where the LE engine's rendered output could be somehow displayed in a context (perhaps by blitting the framebuffer), and then use the framework's input handling, and 2D drawing capabilities to overlay GUI-based elements onto the context. Mouse and keyboard events would be managed, and those that were targeted for the LE engine (i.e., all events taking place directly on the non-GUI elements) would "fall through" to the game code. Anybody taken this road? Quote Link to comment Share on other sites More sharing options...
Uberman Posted March 28, 2012 Author Share Posted March 28, 2012 Wow. Crickets. Ok, I guess it's an "advanced" question that few people have contemplated. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 28, 2012 Share Posted March 28, 2012 I do not have any experience in this. Some people do use Leadwerks in the dot.net framework though. Kinda like Pixel perfects stranded demo. http://www.youtube.com/watch?v=U-csE7nbVvg&feature=context&context=C4a437c4ADvjVQa1PpcFO0CVw4fO0V7sU1cy3RYviY8_AGaCAXiC4= Quote Link to comment Share on other sites More sharing options...
Daimour Posted March 28, 2012 Share Posted March 28, 2012 Ok, I guess it's an "advanced" question that few people have contemplated. That's true. Quote Link to comment Share on other sites More sharing options...
flachdrache Posted March 28, 2012 Share Posted March 28, 2012 Leadwerks has a "custombuffer" - i used to render le`s framework to a custom openGL context but the upload got lost during the forum database mismatch some time ago. PS: "fallthrough" was suggested by using librocket`s "spacegame" demo. Quote AMD 64 X2 Dual 5k - 4GB - XFX GForce9800GT - nv196.21 - WinXP Sp3 zBrush4R2 - Silo2Pro - Unwrap3DPro - Gile - MaPZone2.5 Xxploration FPS in progress ... Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.