Game Development Community

iTorque GUI Editor Crash

by Watermark · in iTorque 2D · 09/24/2011 (8:58 pm) · 2 replies

Hi, after installing iTorque2D Preview 2, the GUI Editor keeps on crashing. The steps are as follows:
1. Make a new GUI or open an existing GUI in gui editor.
2. Drag a new element onto the GUI.
3. Crash.

I think this is Preview 2 because this never happened when I used 1.4.1. Even after I deleted Preview 2 this still happens, please help!
My other questions is, on a Mac, how do I clean uninstall my iTorque so I can reinstall just the 1.4.1 again? I manually deleted Preview2's folder but that does not seem to work.

About the author

Three iTorque 1.5 games published: Sorceria 1: The Mad Doctor RPG Sorceria 2: Sunken City Sagas: RPG Boardgame and Name Generator For more info see our site: http://wmrpg.weebly.com


#1
09/24/2011 (9:12 pm)
I figured out what is causing the problem, but still am confused. It seems if I set the base gui control to the following profile below (non modal) this crash happens:

new GuiControlProfile( GuiClickClearProfile )
{
modal = false;
};

If I switch the profile back to GuiDefaultProfile I can use the editor again. What am I doing wrong? Because I need to make the gui control "Click through" so I can have mouse events activated on my objects below my HUD.
#2
09/26/2011 (10:11 am)
@Watermark - The profile you created does not contain enough information for the engine's GUI system. You can piggy back off of GuiDefaultProfile by inheriting it, then setting the property you want:

new GuiControlProfile (GuiClickClearProfile) : GuiDefatProfile
{
modal = false;
};