[PLUGIN] CGUI v0.02a (24/01/2011): Construct GUI

This forum is currently in read-only mode.
From the Asset Store
Casino? money? who knows? but the target is the same!
  • Question is the progress bar frame rate independent like the one we already have?

  • What do you mean by frame rate independant?

  • Its a windows control.

    I'm not sure you would actually call it a frame rate issue

    For example if I were to set up a loop and use something like the tiled background object as a progress bar it would not work, as the loop would complete before the objects stats were applied.

    This doesn't happen with the regular progress bar.

    This cap shows what I mean.

    http://dl.dropbox.com/u/666516/progressbar.cap

  • Ok, I see exactly what you mean, the progress bar is redrawn every call to step as the tiled background waits to leave the loop for being redrawn.

    I have to look into this as like all Construct plugins, drawing is called after finishing events, so CGUI is updating only at this time.

  • [quote:3ek91l2p]Button activation is done by widget mouse click. So, you set the event "On mouse button click" with the name of your widget then you add the condition "On Widget "name" mouse button click" to get the event.

    I see how to create the condition but you make it sound like it needs 2, so a sub event is needed also?

    Also where do you find the widget names needed because after looking at the layout it seems they would be "Button", "CheckBox" or "RadioButton" etc but these don't work.

    It sounds really simple but for some reason nothing will work, could you make a simple cap example if possible?

  • I see how to create the condition but you make it sound like it needs 2, so a sub event is needed also?

    No, only one condition. Why a sub event ?

    Also where do you find the widget names needed because after looking at the layout it seems they would be "Button", "CheckBox" or "RadioButton" etc but these don't work.

    It sounds really simple but for some reason nothing will work, could you make a simple cap example if possible?

    All widgets name are defined in the ".layout" file or when creating it in cap file.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I haven't messed with this yet. Is it stable and ready to go? is it ok for commercial use?

  • No it's not stable yet

    I still have to add some widgets controlling and other things, like example.

    And yes It is Ok for commercial use as it is LGPL.

  • This has definite future potential.

  • All widgets name are defined in the ".layout" file or when creating it in cap file.

    This is what i originally thought but none of the names in the layout file i tried would work. Basically i was just wanting to make it so when i pushed the buttons on the GUI things happen in construct like a sprite shows etc but i had had no luck getting it to work.

    Maybe with a future update you could have a quick example on how to use the controls to interact with regular object and other plugins correctly as i am sure it's easy when you know how.

  • Both the exe and cap don't work.

  • Both the exe and cap don't work.

    Cap still works for me - build 0.99.97. Do you get any particular message(s)?

  • Did you update InputSystem plugin?

  • Is this still under development or has it been abandoned?

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