[Plugin]UITemplates

0 favourites
  • 13 posts
  • After a discussion with Kyatric on IRC, here's a new plugin : UITemplates.

    <img src="http://dl.dropbox.com/u/1412774/UITemplate/demo.png" border="0">

    Do you miss the various "Layout" objects from Java/SWING, allowing you to have a "bag" in which you throw some widgets, and the "Layout" object arranges everything onscreen for you (you can have GridLayout, a FlowLayout, and a lot of other elastic Layouts).

    This plugin is there to do the same. I renamed the whole thing "Templates", to avoid confusions with C2's layouts.

    For the beginning, there's only GridTemplate. You can specify a number of rows/columns, the inner padding in pixels from the border, and at widgets.

    Currently, it only works with objects added at runtime (I still need to understand how to add objects create at editime without breaking everythin). It doesn't work also with HTML objects (Button, TextBox, HTML_Div, etc..), because those are using CSS to style themselves.

    The demo : http://dl.dropbox.com/u/1412774/UITemplate/index.html

    The plugin : http://dl.dropbox.com/u/1412774/UITemplate/pode_UITemplates.0.1.zip

    As always, Critics&Comments are welcomed !

    Edit : I forgot to say it, but : thanks a lot to (French)Yann for is ]sliders example code ! <img src="smileys/smiley2.gif" border="0" align="middle">

  • FANTASTIC...ty Pode ^^

  • edisone : wouhou, at least one answer !

    I'm planning to add that possibility at edittime too...

  • Keep up your good work!

    Maybe some people that have never worked with a Layoutmanager didn't realise for what or how to use your plugin...

    Much endurance for the edittime (-v8-) .. <img src="smileys/smiley2.gif" border="0" align="middle" />

    .. waiting for the gridbag.. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I love you.

  • Thank you !!! <img src="smileys/smiley32.gif" border="0" align="middle" />

  • Thanks, Do you have the .capx of the example? ;]

  • Sheepy : I'm on holidays, so I can't post it this week, but when I'm home I'll post it here.

  • I installed this plugin a while back to run a capx example from someone, then I forgot about it.

    Recently I spent days wrestling with GUI management for my game, with a lot of "in-game winodws" set up. I ended up with the "each window gets its own layer" strategy, but after all that is done, I found UITemplates in my object selector.

    /headdesk

    I'll have to remember using this plugin for my next game. Right now my current game needs to get done and it's too late to redo the GUI with this plugin.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • hi do u have the capx to this UITemplate ..cant find ..or am i blind ??

    Thanks

  • Holy crap as someone familiar with Java/SWING THANK YOU!

  • Hey I am noticing that this doesn't update the position of other objects in the container?

  • Does this plugin still work? I can't even get the object to display.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)