OXT Community Stacks

Easing

a script library by OXT-Beyond contributors

  • Keeps to itself

The demo is a stack that uses this library. It plays right here in your browser, boxed in, so trying it puts nothing on your computer.

About this library

Curves for smooth movement: slow starts, gentle stops, a bounce, an elastic snap. Give ezBetween a start, an end and how far through the time you are, and it answers with the point, the size or the colour for that moment.

What it gives your scripts

  • function ezNames
  • function ezCurve pName, pT
  • function ezBetween pFrom, pTo, pT, pName
  • function ezProgress pStarted, pDuration

What this library uses

  • Keeps to itself. The checker found no internet and no files in it.

Install it in OXT-Beyond

An installed library runs on your computer as any program does, every time OXT-Beyond starts, and in every program you build with it. There is no box around it. Read the script first, and install libraries only from people you trust.

In OXT-Beyond 0.2.8-dp.2 and later, the easy way is File > Community Stacks...: choose Libraries, pick this one and press Install. It checks the file against this site's signed list before it installs it. Or by hand:

  1. Download it (2 KB) Leave the file as it is: do not unzip it.
  2. In OXT-Beyond, choose Tools > Extension Manager, click + and choose the file.
  3. Call its handlers from your own scripts. To take it out again, select it in the Extension Manager and remove it.

The file is an extension package (.lce) that this site made from the script on this page. Any IDE built on LiveCode Community 9 installs it the same way. To put the library into a program you build, tick it under Inclusions in the Standalone Application Settings.