Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I have assembled a toolset based on irrlicht that we could call "game engine" or " game framework". I'm using squirrel. I'm using irrEdit 1.4.1. I have created a plugin which each time "run" is called I execute a script in my own built-in squirrel scripting system (right now it is a string that I pass to my scripting system). 1. Can a plugin create a window in irredit? I would want the plugin to create a window similar to the scripting window, not using irrEdit scripting system but my own scripting system and testing in real time the game. Or can I redirect the scripting pane text to my plugin? 2. In exampleGamPlugin in the code I see: Services->getDevice()->getGUIEnvironment()->getBuiltInFont()->draw(L"Press esacpe to end simulation", irr::core::rect<irr::s32>(0,0,200,50), video::SColor(100,255,255,255)); But I cannot see that text anywhere! BR |
||||
|
1) No, that's currently not possible, sorry. Scripting is currently only limited to do modifications in the scene graph. 2) Drawing 2D stuff in irrEdit currently doesn't work nicely, because irrEdit draws viewports and irrlicht doesn't handle 2D drawing with viewports correctly yet. If you use a bigger font, it might get visible, I think, but that's a bad workaround. |
||||
|
|