Editor UI: Inserting entities

This is a discussion on Editor UI: Inserting entities within the Game Programming forums, part of the General Programming Boards category; This isn't strictly game programming related, but I think it still fits. I'm trying to decide on a nice way ...

  1. #1
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070

    Editor UI: Inserting entities

    This isn't strictly game programming related, but I think it still fits.

    I'm trying to decide on a nice way to let users insert entities into worlds in Clockwork. Suppose the user tries to add a staticmesh entity. Should there be a pop-up that allows the user to specify what model and shader file to use (these are basically the only properties required to add a staticmesh to the world)? Should it display a new panel in the main window? Or should it just create a sort of "placeholder" entity, that isn't really active untill properties are correctly set in the property view box (which is always visible in the left pane, for nice dynamic property editing)?

    I'm trying to avoid pop-ups as much as possible, but in this case i'm not really sure if it can be avoided.

    At the moment, i'm leaning towards the display of a new panel, but i'd like to get some of your thoughts. Also, if you have any other ideas of how this could be done other than the ones I've mentioned, feel free to offer them up.
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

  2. #2
    glo
    glo is offline
    Registered User
    Join Date
    May 2006
    Posts
    169
    How about combining all of them?
    If you create an entity, a property editor will pop up, unless you SHIFT+create the entity, in which case it skips the pop up window, and leaves you to edit the properties from the view box.

  3. #3
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070
    I like the idea, but unfortunatly now i'm not sure if I can get the placeholder entity thing to work properly with the current system. I'll keep it in mind though.

    What I did decide to do, was combine the pop-up and panel idea, rather than the pop-up and placeholder idea. Basically, when you click the button to add an entity, it displays a borderless window (which looks like a panel) at the location of the mouse cursor. From there you can edit the initialization properties, and continue to add the entity to the current world.

    Comments?
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 12-06-2008, 06:54 PM
  2. problem inserting into recursive BST
    By nfrandsen in forum C Programming
    Replies: 4
    Last Post: 09-13-2008, 07:03 PM
  3. Inserting hex characters in the output
    By earth_angel in forum C++ Programming
    Replies: 5
    Last Post: 06-29-2005, 11:52 AM
  4. Inserting text into a file
    By Ariod in forum C Programming
    Replies: 12
    Last Post: 11-05-2004, 08:13 PM
  5. inserting a space
    By linuxdude in forum C Programming
    Replies: 2
    Last Post: 02-29-2004, 05:37 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21