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

Post and try out addons that are currently in development.

Post » Thu Jan 27, 2011 10:03 am

How do you correctly link a button to a regular event?

I thought this would be a really simple task but after trying to link it with a simple event to show a hidden object it was not working. I tried a load of options also yet nothing worked.

Also do you plan to make documentation/help for your object? I found loads of docs for the actual library and have been able to modify the XML and display that shows just fine but it's just the returning data back i am not having much success with.

No included offline documentations is a general problem i am finding with this program though. For many things it's not much of a issue as they are self described/need no help but for the more complex plugins like this it would be a good idea i think.
B
2
S
2
G
1
Posts: 121
Reputation: 1,092

Post » Thu Jan 27, 2011 4:31 pm

[quote="zeno":2plapyha]How do you correctly link a button to a regular event?

I thought this would be a really simple task but after trying to link it with a simple event to show a hidden object it was not working. I tried a load of options also yet nothing worked.

Also do you plan to make documentation/help for your object?[/quote:2plapyha]

It's v0.02a man... he's just started working on this. Give it time ;)
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Fri Jan 28, 2011 7:27 am

NO

GIEF GUI

NAO

Nah, just keep the good work up :)
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Fri Jan 28, 2011 9:52 am

[quote="deadeye":1nkb4c8s]It's v0.02a man... he's just started working on this. Give it time ;)[/quote:1nkb4c8s]

Yeah i know, i wasn't asking for documents asap or anything, just wondering if they were planned for the future. ;)

It's great work so far though, i think i will be using this plugin a lot and it seems to allow every GUI element you could ever need. :D
B
2
S
2
G
1
Posts: 121
Reputation: 1,092

Post » Sat Jan 29, 2011 1:33 pm

Thank you all for giving support.

About the documentation, I don't plan to create one as I won't have time to do it. But, if someone wants to build it, it would be great :mrgreen:

But I will translate all the MyGUI examples into CAP files.
B
3
S
1
G
2
Posts: 80
Reputation: 985

Post » Sat Jan 29, 2011 9:30 pm

[quote="zeno":383z74zh]How do you correctly link a button to a regular event?
[/quote:383z74zh]

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.
B
3
S
1
G
2
Posts: 80
Reputation: 985

Post » Sun Jan 30, 2011 3:50 pm

Question is the progress bar frame rate independent like the one we already have?
Image Image
B
161
S
48
G
90
Posts: 7,348
Reputation: 66,751

Post » Sun Jan 30, 2011 5:37 pm

What do you mean by frame rate independant?
B
3
S
1
G
2
Posts: 80
Reputation: 985

Post » Sun Jan 30, 2011 6:03 pm

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.
[url:397817cr]http://dl.dropbox.com/u/666516/progressbar.cap[/url:397817cr]
Image Image
B
161
S
48
G
90
Posts: 7,348
Reputation: 66,751

Post » Sun Jan 30, 2011 7:52 pm

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.
B
3
S
1
G
2
Posts: 80
Reputation: 985

PreviousNext

Return to Work-in-progress addons

Who is online

Users browsing this forum: No registered users and 0 guests