Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / Visual UI

Author
Message
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 1st Aug 2006 01:42 Edited at: 3rd Aug 2006 03:41
Visual UI is a bunch of GUI functions that I made because I can't be bothered to buy BlueGUI and I think it's better for my programming knowledge to be able to code it....... Oh what am I saying! I would buy BlueGUI if I could, but I can't, haha, so I made this. Anyway, here's what it's like:

Has:
Menus (like the dropdown ones)
Buttons
Checkboxes (don't really work brilliantly)
Sliders
Dropdown Lists
Labels

It's basically made from an image, which really is the template, but when you load a template you load a .vui file (which you can open with Notepad and edit), which has data for fonts n' stuff.

Some words of advice:
1) Do not put the creation code of the GUI (the stuff before the loop) in bitmap 1, because it uses bitmap 1 to create it.

2) It's made from 3D plains, and checks for free objects, so if you want to put this into your game: Make all the object before the GUI (and possibly put the GUI into a gosub to keep it tidy) or, use the supplied _freeObject() function (please use this one, because it is make differently that usual ones, and errors could occur if you make your own)

3) Credit me.... you kno I have never seen my name in any credits before, even though I had it promised? (Probably because noone got that far, hahahaha)


Oh yes, and as for credits, here's mine:
CuCuMBer - for helping me with the Sprite-Plain function of which I altered and can now claim as my own.

Phaelax - Because I looked at the first few lines of his menu code and I noticed that was my answer to all of lifes problems.



Screenie:


Do not be put off by it's ugly stinking colours, let us not forget that this was only for testing, and the template can be easily changed. I guess I can upload some more templates soon.


I have attached: The template (image), the template(vui file), the codes (.dba and .dbpro), and a nice cute .ini file you can put in the keywords folder for syntax colouring.


Have fun.

Attachments

Login to view attachments
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 1st Aug 2006 06:15
Cool GUI man! I like it, mine's open source, you can add it to your project if you like (Just follow the signature for it).

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 1st Aug 2006 16:58
Thanks.


Oops, just noticed that I made it check the value for the horizontal slider instead of the vertical - This is not a bug, heheh.

The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 1st Aug 2006 18:57
Looks really good Zotoaster! Good job

Keep it up!

John Y
Synergy Editor Developer
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 2nd Aug 2006 00:25
Looks cool. Not sure about your Microsoft Windows theme though

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 2nd Aug 2006 01:59
Lol, nevermind windows, it's just an insect compared to my gui, muahaha!

Anyway, just finished making drop-down lists. I wont update for a while, because that would mean you would have to keep downloading stuff, so once I've made lots more progress, I can upload it. It the meanTime I can just give you screenies.

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 3rd Aug 2006 03:41
Just made Labels with good text wrapping.


I'm having some doubts about this that I'm making because things can't be changed, like the caption for a button etc. That's mostly because the text has to be pasted onto the object, otherwise the text won't order correctly, and will show above everything, even when it's ment to be behind it. Does anyone know of anyway to do something about this?

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 3rd Aug 2006 20:11
Here's a new screenie, with a new template, and dropdowns and labels. It's all good.



Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 8th Aug 2006 04:53
Keep up the good work

GameDeveloper's EasyEdit v0.5, view thread #2
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 8th Aug 2006 21:58
I intend to... once I manage to re-make MS Paint! It somehow got deleted.

Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 9th Aug 2006 08:36
Yea, i just read your post in the (20-line challenge?).

But, cant you download MS Paint from microsoft.com? If you have a Windows XP, i wouldnt mind uploading mine for you (assuming that that's not illegal).

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 9th Aug 2006 21:42
It's fine. I got it

Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 11th Aug 2006 09:36
Good to hear!

Rocker_lx
18
Years of Service
User Offline
Joined: 5th Jul 2006
Location:
Posted: 13th Aug 2006 18:13
Quote: "I intend to... once I manage to re-make MS Paint! It somehow got deleted."


here is a cool freeware app which is much better than paint.
It's called paint.net.

http://www.eecs.wsu.edu/paint.net/

Nice work on your GUI. Keep it up.
Kyhoshi
18
Years of Service
User Offline
Joined: 21st Jun 2006
Location: Somewhere over the rainbow.
Posted: 14th Aug 2006 23:17
from what ive seen it looks awesome. i cant wait to see it when its finished

Login to post a reply

Server time is: 2024-11-23 18:29:31
Your offset time is: 2024-11-23 18:29:31