UFO:Alien Invasion

Development => Coding => Topic started by: joe davis on February 07, 2010, 09:42:55 pm

Title: Tools Question: Is there a WYSIWYG DND RLM application for Menu design?
Post by: joe davis on February 07, 2010, 09:42:55 pm
I was wondering if there was a What you see is what you get, drag and drop, rapid layout management designer application for menu creation?  Something that uses a canvas and toolbars from which one may select a widget, component, or whatever you want to call it, from the toolbar and drag it to the canvas to generate a visual layout of the menu, and which can also generate basic menu code of node position and node sizes? 

Or are there any tools that are currently being used to speed up the menu layout?
Title: Re: Tools Question: Is there a WYSIWYG DND RLM application for Menu design?
Post by: Mattn on February 07, 2010, 10:21:01 pm
there is nothing like that yet - but open game console, "mn_push editor" or "debug_menu 1"
after you've modified the menu with the editor you can write it to a file with some other mn_ command that's name i don't remember right now - geever or bayo can tell you more here.
Title: Re: Tools Question: Is there a WYSIWYG DND RLM application for Menu design?
Post by: joe davis on February 07, 2010, 10:38:13 pm
That is neat.  I am glad I asked.  I look forward to more details on the mn_commands used in the console to work with the nodes when geever or bayo have the time.  Thank you for your prompt reply and relevant feedback.
Title: Re: Tools Question: Is there a WYSIWYG DND RLM application for Menu design?
Post by: geever on February 08, 2010, 05:25:08 pm
There is no real editor with add/remove node functionality because we couldn't/didn't create nodes (widgets) dynamically. Bayo implemented something like that recently so maybe it will be possible in the future.

mn commands are debug_mn commands now (only available in debug mode) tab completition will list them.

Personally I don't use the in-game editor, the mouse is not accurate enough for me. I use debug_menu 1 and a text editor, with game restarting.

-geever
Title: Re: Tools Question: Is there a WYSIWYG DND RLM application for Menu design?
Post by: Kildor on February 10, 2010, 08:50:05 am
I use texteditor (with auto-completion, templates and colouring) and write menus manually too.
Title: Re: Tools Question: Is there a WYSIWYG DND RLM application for Menu design?
Post by: joe davis on February 12, 2010, 05:42:44 pm
Do you feel that it takes a while to locate the right position and size of a node when building a menu or have you grown accustomed to placement?  In other words, do you get it placed on your first try or does it take a couple of times to tweak the placement?
Title: Re: Tools Question: Is there a WYSIWYG DND RLM application for Menu design?
Post by: bayo on February 28, 2010, 04:59:16 pm
Yes, it is not very easy to fix widget location. It need a lot of work.
But if you already work with c++,java... GUI, you know it anyway need a lot of work.