
bGlyphCentered = false
perc = frame / lastsubframe;
if (reverse_sub_effect == true) d = -1 else d = 1;
inc = perc * 360;
angle = inc * 22 / 7 / 180;
ty = Math.cos(angle) * max_delta_z * (1 - perc) * (1 - perc);
yrotate = ty * 8 * d;
if (use_scaling) yscale = perc * perc;
if (use_scaling) zscale = 1 + ((1 - perc) * (1 - perc));
if (use_alpha) alpha = 100 * perc;

