Jump to content

Fading Gui Controls


TorqueFan

Recommended Posts

Fading Gui Controls


A collection of new gui control classes that support fading via custom rendering code and script commands. Created by Will o' Wisp Games.



New Classes


• GuiFadingBitmapButtonCtrl : Gui button control with an image that will fade in and out.


• GuiFadingBitmapCtrl : Gui control with an image that will fade in and out. Includes child controls.


• GuiFadingButtonCtrl : Gui button control that will fade in and out. Only for buttons with no image, using profiles to 'fill' the color and borders.



Tech Blog


For more information about the development and usage of this resource check out its tech blog: Fading Gui Controls Blog Post



Download


Fading Gui Controls on Github



Installation


Source Code:

1 - Create a new directory "source\gui\fading\".

2 - Copy the provided source files into the new directory.

3 - Open your project and add the new 'fading' filter under "torque3d\gui\" to mirror the new directory.

4 - Right-click the new 'fading' filter and choose 'Add Existing Item' from the dropdown. Go ahead and add each of the 4 new source files.

5 - Recompile. A successful install will allow the new classes to be used and their fadeIn() and fadeOut() functions called from script.



License:


MIT Licensed under the original license included with Torque3D.

No clauses, no additions, no requirements. Enjoy the resource.

If you find this resource helpful you can thank us or show your support by leaving feedback or suggestions on our blog.

Link to comment
Share on other sites

You are very welcome.


Videos will be coming soon™. This is on my very long list of things 'todo' by mid-October. I'm basically coming up for air just long enough to bang out some community resources and play a couple PC games before diving back into fullspeed gamedev.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...