ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > irrEdit
forum topic indicator Plugin system question
person icon
marcos
Guest
Quote
2008-06-03 15:08:50

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

person icon
niko
Moderator
Quote
2008-06-03 20:09:48

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.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |