Game Development Community

Jittering Editor Fix

by James Dunmow · in Torque Game Engine Advanced · 06/08/2004 (9:35 am) · 4 replies

After playing with the EditorGui.gui a bit, I've discovered that for some reason I've yet to fully comprehend that the various edit managers that the Editor uses really don't like being sized at 640x458.

However, if you resize and position the element it works just fine.

eg. in EditorGui.gui
-------------------
new WorldEditor(EWorldEditor) {
profile = "MissionEditorProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0"; // changed from "0 22"
extent = "640 480"; // changed from "640 458"
------------------

Sadly, it means the top element in the top right panel ends up being buried under the menu bar and has to be pushed 22 pixels down. Since I'm lazy (and have keyboard shortcuts set up) I've just nuked the menu bar entirely. If I get time (and motivation) I'll whip up a fixed EditorGui.gui if anyone is interested.

#1
06/08/2004 (9:53 pm)
Checked in a nice clean version of that fix.
#2
06/09/2004 (8:49 am)
Cool. Do I get a cookie for having found the problem? ;)
#3
06/09/2004 (10:32 am)
They already gave you a session cooky for the forum,dont be greedy..hehe
#4
06/09/2004 (11:38 am)
No cookies, just cookie ingredients. :P