Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Megapixel

Pages: [1]
1
Drama / "Zapk"
« on: December 01, 2014, 09:50:26 PM »


pm me

2


Tango is a small API / library that allows the seamless movement 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.



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



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);


And yes. It supports both dimensions, of course ...



Easing Types

The easing formulas currently available in Tango are: quad , sine , expo , circ , cube , quart , elastic , and of course - linear.

Here are a few of my favourites.

Exponential ( expo )



Quadratic ( quad )



Linear ( default )



Documentation

Full documentation on the usage of Tango can be seen through the link below.

tango-doc.html

Generated using Greek2Me's TorqueDoc.

Download

Version: 0.2.0

tango.cs

Please leave bugs & feedback below.




Yeah. I am back ... at least, a little bit.

While I cannot argue that I don't deserve any hate, I don't need the extra emotion right now that would grow on me if I were to reply.

Pages: [1]