Project OutFox Wiki
Project OutFox home View the OutFox Wiki source on GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Tweening

Actors have the ability to transition from point A to point B using Tweening.

It allows for queueing up movements & transitions on position, size, color and other attributes as well as commands and messages.

Queueing-style tweens

These help with queueing actions after a certain amount of time.

Sleep

The actor waits for a given amount of seconds before performing the next command.

hibernate

Like sleep, but the actor is also hidden for the duration of the hibernate.

Tween manipulation

These functions manipulate the flow of the tweening

stoptweening

finishtweening

hurrytweening

SM3.95-era tweens

These tweens are what most people would be familiar to those who work with ITG and SM3.95

linear

The actor transitions at a constant rate.

linear

accelerate

accelerate

decelerate

accelerate

bouncebegin

It’s done in Lua in SM5 for some reason.

bouncebegin

bounceend

It’s done in Lua in SM5 for some reason.

bounceend

spring

spring

tween (NotITG only)

Takes a string that references a global function

SM5-era tweens

These tween functions were added in SM5.

“ease”

smooth

smooth

drop

drop

bezier

A 2D or 3D bezier curve can be passed into the function to allow for extra tweening options.

OutFox-era tweens

OutFox added all of the standard easing functions. All of these are prefixed with ease and in/out/inout

linear

sine

in: easeinsine, out: easeoutsine, inOut: easeinoutsine

quad

in: easeinquad, out: easeoutquad, inOut: easeinoutquad

cubic

in: easeincubic, out: easeoutcubic, inOut: easeinoutcubic

quart

in: easeinquart, out: easeoutquart, inOut: easeinoutquart

quint

in: easeinquint, out: easeoutquint, inOut: easeinoutquint

expo

in: easeinexpo, out: easeoutexpo, inOut: easeinoutexpo

back

in: easeinback, out: easeoutback, inOut: easeinoutback

circle

in: easeincircle, out: easeoutcircle, inOut: easeinoutcircle

elastic

in: easeinelastic, out: easeoutelastic, inOut: easeinoutelastic

bounce

in: easeinbounce, out: easeoutbounce, inOut: easeinoutbounce