Prototype/Layout kinda night....

Published June 18, 2005
Advertisement
So, I followed the tutorial on

http://gallery.artofgregmartin.com/tuts_arts/making_a_star_field.html
to cook up this mockup of a main menu. Now I just need to do the mockup for the "Join Server" and "Options" screens so I can have something to transition to :)




EDIT:
Here is the "Join Server" prototype I came up with. Tomorrow I'll have to see if I can script up the UI using my GUI scripting language :)

0 likes 3 comments

Comments

choffstein
Did you create the GUI scripting language? Any examples of how it works?

Anyway, its lookin sweet.
June 18, 2005 10:13 PM
SGreth
I shouldn't call it a GUI scripting language...I should just call it what it is...Lua :) The method to my madness is a lot like CrazyEddie's GUI system. Define your GUI in XML, then handle events in Lua functions, with the ability to call back into the application. Inside my engine I define C/C++ functions that the Lua functions can call directly to access pretty much all aspects of the engine.

When you define a control in XML, you specify the Lua Script/Function to handle events for that control. You also specify the control ID so you can reference it in Lua callbacks.
The game engine will fire off a call to the Lua funciton on the event being triggerd. The only thing passed into the Lua function is the ID of the control the event pertains to. Inside the Lua function you can then call back into the application using a control's ID to get/set properties.
June 19, 2005 09:01 AM
Lacutis
I started working on a gui/windowing system a couple weeks ago. I got to the point of creating windows and then ended up moving to another house.

Anyway, I was wondering if you used any tutorials in the writing of your system. That and if you could post an example of one of the lua functions your button triggers. I've been working with lua for a while and I'd be interested in seeing it.
July 01, 2005 03:09 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Advertisement