Computer Science Canada Custom GUI |
Author: | SNIPERDUDE [ Sun Jul 13, 2008 9:15 pm ] |
Post subject: | Custom GUI |
This has been long in the waiting for most - but I like working on a couple large projects at the same time, which often stretches the release date into the future. Anywho, This is my custom GUI v1.4a I still have to reorganize the rest - but I have the button procedure done! I used no outside images whatsoever, and was still able to replicate the XP GUI for turing! (complete with rollover effects and button down effects) Read the README on the top of the code to understand how it works. ENJOY!!!!!!!! |
Author: | SNIPERDUDE [ Mon Jul 14, 2008 6:16 pm ] |
Post subject: | RE:Custom GUI |
Where it says how to import, the line > new LGUI1v4a g should be > new LGUI1v4a, g |
Author: | SNIPERDUDE [ Tue Jul 15, 2008 5:21 pm ] |
Post subject: | RE:Custom GUI |
downloaded 10 times and no reply? ![]() |
Author: | Euphoracle [ Tue Jul 15, 2008 8:08 pm ] |
Post subject: | RE:Custom GUI |
Maybe it's because you didn't include an actual demo so people just can't be assed to write their own demo for it. |
Author: | SNIPERDUDE [ Wed Jul 16, 2008 8:44 am ] | ||
Post subject: | RE:Custom GUI | ||
kk, here:
Make sure you keep them in the same folder... EDIT: Something wrong with it? ![]() |
Author: | Zren [ Thu Jul 17, 2008 2:21 pm ] |
Post subject: | Re: Custom GUI |
![]() It's best to add a screenshot of things like this, since people mainly want to know what stuff like this looks like before bothering with trying it out. I was personally questioning why you'd need 1000+ lines of code for a simple button. Then again, I ignored the readme and clicked run right away. What you could do next is make a GUI that is dependant on images. Like manipulating an image into 9 sectors for the corners, the edges and the center, then stretching or tiling the cut up image to create a button. |
Author: | StealthArcher [ Thu Jul 17, 2008 3:19 pm ] |
Post subject: | RE:Custom GUI |
That way has proven it's granmd glitchiness with his attempt to make a VB-esque window for turing. |
Author: | SNIPERDUDE [ Thu Jul 17, 2008 4:09 pm ] |
Post subject: | RE:Custom GUI |
That way gave me glitches before, which I tried ironing out. I wasn't able to, so I switched to this method. This also takes less space on your comp, which is a convenience; the only negative that I know of is more lines - but the lines weren't meant to be tampered with anywho. This way proves to show no real errors, without being slow either. It wasn't slow for you guys, was it? |
Author: | metachief [ Thu Jul 17, 2008 6:26 pm ] |
Post subject: | RE:Custom GUI |
I say very good job man. Still can't believe you used turing graphics to create the buttons...how long did it take you! I would have probably given up half way... Although, I still wonder why you tried to recreate the xp graphics on turing. Next time pick a theme that you like and make something original. Looks like you put much effort into it. |
Author: | SNIPERDUDE [ Thu Jul 17, 2008 6:36 pm ] |
Post subject: | RE:Custom GUI |
The EOD one was original. (Zren's Screenshot - Second Last) Anyways Thanks! ![]() I created the XP one as well because I thought some people would rather use something like that over the built-in GUI. And it took me a long time, lol. +bits? ![]() |
Author: | andrew. [ Fri Jul 18, 2008 9:06 am ] |
Post subject: | RE:Custom GUI |
I like it. It's very nice and fast. Also, I was too lazy to look through your code, but did you draw all the buttons from within Turing? If you did, wow. |
Author: | SNIPERDUDE [ Fri Jul 18, 2008 4:04 pm ] |
Post subject: | RE:Custom GUI |
Yes. I did. ![]() |
Author: | darkangel [ Tue Sep 09, 2008 11:55 am ] |
Post subject: | Re: Custom GUI |
Wow, this really is the best GUI i have seen in a LONG time. Keep up the good work, your code is exterimly neat, and i can only hope to be that organized in my life. +BITS |
Author: | SNIPERDUDE [ Tue Sep 09, 2008 12:13 pm ] |
Post subject: | RE:Custom GUI |
Many thanks mate, I worked a good long time on that one. It was quite messy when I first made it, so when I started the process of eliminating outside images (I was getting errors when I used images, besides its better I think to be able to eliminate all that extra space) I completely reorganized the code. And thanks again for the bits ![]() |
Author: | Warchamp7 [ Tue Sep 09, 2008 12:42 pm ] |
Post subject: | RE:Custom GUI |
Very impressive, I don't have many bits but you're getting some. After putting over 1000 lines of code into a GAME, I can only imagine what this was like. |
Author: | SNIPERDUDE [ Tue Sep 09, 2008 1:00 pm ] |
Post subject: | RE:Custom GUI |
Thanks ![]() Line count: 1014 without the readme. |
Author: | Warchamp7 [ Tue Sep 09, 2008 1:04 pm ] |
Post subject: | Re: RE:Custom GUI |
SNIPERDUDE @ Tue Sep 09, 2008 1:00 pm wrote: Thanks
![]() Line count: 1014 without the readme. Yeah I saw ![]() I'm at 1315 with my game and my bare bones drag system is a whopping 63. |
Author: | SNIPERDUDE [ Tue Sep 09, 2008 1:20 pm ] |
Post subject: | RE:Custom GUI |
Haha, this is only the buttons release. I also have (just need to clean up the code): Vertical Scroll bars Horizontal Scroll bars Frames Full Frames (with title bar at top and close button) Check boxes Radio Buttons Input (text) boxes ![]() To be made: Full text boxes (multiple lines) Combo Boxes List Boxes Message Boxes (like a message pop-up) Picture boxes (a box of a set size that will have a picture inside and scroll bars to move it around) also Features to be made: More themes (will include Vista) Gradients (like you would see in Vista) Button / Frame Animations (each will fit to its respective theme) Any more I manage to think up. |
Author: | chopperdudes [ Wed Oct 22, 2008 9:54 pm ] |
Post subject: | RE:Custom GUI |
very impressive, however, there is one glitch with the style, around line 1066, you checked for simpleX before checking for simple, which will result in an substring index greater than length of string, same with Classic and ClassicX, just flip the if and the elsif and you're good to go. |
Author: | SNIPERDUDE [ Mon Oct 27, 2008 10:42 pm ] |
Post subject: | RE:Custom GUI |
Has it given you an error? Or is it just something you noticed in the code? It hasn't given me an error before, but easily fixable nonetheless. |