Skip to content
Trudeau edited this page Aug 28, 2017 · 3 revisions

Tango

Tango is a small API / library that allows the seamless movement and scaling of GUI objects. It allows easing, to make the experience smoother and richer.

It also includes a scrollbar-friendly function for setting the position of GUI objects.

Quick Examples

Shown here is the authentication bar sliding on-screen with ease. Doing so with some side-parted elements can relieve the user of being overwhelmed.

Auth Bar

A fast and easy method for cascading down fields. It makes opening the GUI feel nicer.

Cascading Fields

This may look like it's an unnecessarily advanced piece of eye-candy to code. But really, this is all you will need:

keyText0.tangoMoveTo("6 7", 1000, expo);
keyText1.tangoMoveTo("66 7", 1100, expo);
keyText2.tangoMoveTo("118 7", 1200, expo);
keyText3.tangoMoveTo("170 7", 1300, expo);
Clone this wiki locally