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

This forum is currently in read-only mode.
0 favourites
From the Asset Store
Casino? money? who knows? but the target is the same!
  • Hello all,

    What it does:

    It's a GUI based on MyGUI (see http://mygui.info).

    Integration in Construct is in progress. Only some of the objects are integrated to validate the concept.

    Feel free to play with it and look into the cap file and tell me what you think.

    Status 02/24/2011

    Done:

    • Complete render in Construct
    • Mouse & Keyboard management
    • GUI general management
    • Managers: Resources, Layout, Font, Language, Layer, Pointer, Skin, Clipboard
    • Widget: Button, Canvas, ComboBox, Drag & Drop container, EditBox, ImageBox, ItemBox, ListBox, Menu, MultiListBox, TextBox, Widget (itself)

    ToDo:

    • Widget: MultiListItem, PopupMenu, ProgressBar, ScrollBar, ScrollView, TabControl, TabItem, Window
    • Texture manager from Construct Sprite and Canvas: create / destroy / load / save / width / height
    • Construct Animation to MyGUI ResourceImageSet
    • Tools: FileSave dialog, ...
    • Examples
    • Progress bar frame rate independent

    Here are some screens from first example:

    How to use it:

    See the included examples, everything is in here. If more is needed, I will publish some howtos.

    BEWARE: You will need Input System v0.95b (or later) plugin for the test CAP files.

    Installation:

    Download the zip file and put the Plugin directory with the csx files into Construct's plugins directory.

    Download:

    http://sourceforge.net/projects/sglorzs ... files/CGUI

    Release note

    v0.2a

    -----

    • Bug: CGUI rendering is fully (I hope ) integrated in Construct.
    • Added option "FX used by any object", No = no object uses effect, Yes = at leat one object uses one effect. Usage of FX changes Construct behaviour on alpha transparency and then GUI windows aspect is modified. This option enables hacks in runtime code to keep GUI clean. I would be grateful if someone knows how to handle this otherwise or at least to find a way to know if any FX is used at runtime by an object.
    • Added CGUI_test.cap to test FX and scrollings.

    v0.1a

    -----

    First delivered version

  • Looks very promising. Unfortunately, the cap crashes Construct (c 0.99.96) on my PC so I can't experiment.

    Is it OK for everyone else?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is awesome. Seeing as how the Windows control widgets are really finicky, Construct could definitely use something like this.

    How skinable do you plan to make this? I noticed some rather complex looking GUI setups in the screenshots on the mygui page. Like this one here: http://info.wotgame.ru/files/screens/original/70.jpg

    Edit:

    Hmm, I tried downloading the .zip twice and both times it said the file was corrupted

    Edit 2:

    Never mind, for some reason it took four tries to actually download the whole file from sourceforge. I got it now.

  • Crashed? Oh!

    Did you have the Media directory unziped? Does the exe file worked?

  • How skinable do you plan to make this? I noticed some rather complex looking GUI setups in the screenshots on the mygui page. Like this one here: http://info.wotgame.ru/files/screens/original/70.jpg

    My goal is to have it the same as the original, so to be able to do the same interface.

  • Exe works fine.

    Yea, all unzipped to it's own directory. I'll keep testing, see if I can find out what's wrong.

  • Did you install last Input System plugin?

  • The .cap crashes here when I run it as well. And yeah, everything is unzipped properly. Are you sure you didn't mix up the runtime build? Ash does that all the time

    The .exe file works though.

  • Sorted. As you suggested.

    I just added your latest InputSystem_0.95beta.zip.

    Cheers

    Zen

  • Sorted. As you suggested.

    I just added your latest InputSystem_0.95beta.zip.

    Yep, same here. I thought I did have the latest version... oopsie

    Anyway the .cap runs fine now. And it looks awesome so far

  • thanks! But I still have a lot to do

  • Yep, same here. I thought I did have the latest version... oopsie

    Anyway the .cap runs fine now. And it looks awesome so far

    Ditto on both points. This could potentially be extremely useful.

    Brill work, as usual sglorz

  • Noticed something odd. When you add an effect to the CGUI object, or an effect to the layer that the CGUI object is on, it renders a black screen at runtime.

    EDIT:

    Also, it seems that the GUI objects all render in front of everything else. I added a sprite, and the sprite was hidden by the GUI, even when I put the sprite on a layer above the GUI. I don't know if this is fixable, but this was one of the main complaints about the Windows control objects.

  • THIS IS AWESOME.

    Seriously, it's totally sweet. I love this thing. I really wanna see it fully developed, it could certainly be a very, very handy plugin.

  • [quote:30pmbfwd]

    EDIT:

    Also, it seems that the GUI objects all render in front of everything else. I added a sprite, and the sprite was hidden by the GUI, even when I put the sprite on a layer above the GUI. I don't know if this is fixable, but this was one of the main complaints about the Windows control objects.

    Ok, that's not good at all. If I can't resolve this, my plugin is useless...

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