Game Development Community

About new gui system.

by KevinYuen · in Torque 2D Beginner · 03/22/2013 (8:14 am) · 3 replies

I want to try make some new gui controls, and shared with troquers.

But i need some suggestions and guidance:

1: how to sort gui layers if using torque scripts absolutely?
2: how to limit their rects and make clipping?

So i hope you can provide a complete example for us, such as one hp/mp bar and a listbox. :)


#1
03/22/2013 (8:25 am)
we need a direction about new system.

you're torque's founders, you're most familiar with it.

I think if you can post some guides for new systems, For friends want to joint development, it is a good thing. :)

I hope you can understand my thinking...( uh, english.... very poor )
#2
03/22/2013 (11:49 am)
If you've read the documentation and the class references then the best place to start after that would be to examine GuiControl closely - that is the base for all other gui controls.
#3
03/22/2013 (10:54 pm)
Hello Richard :)

you said: 03/19/2013 (3:25 pm)
I can post more on how to handle in-scene health/mana bars later.


I read documents and GuiControl.cpp, but i want to known how to design it by script. :).
If using c++, i think it's no problem, very easy for me.