Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
How to use a Movie Clip — Gideros Forum

How to use a Movie Clip

FishFish Member
edited March 2014 in General questions
I have the following code...

local mc = MovieClip.new{
{1,10,highScoreTex,
{
x = {0, config.left + config.halfWidth - highScoreTex:getWidth()/2, "linear"}
}
}
}

This moves the text from the left to the center of the screen but it does it really fast.
So to slow it down i changed it to this...

local mc = MovieClip.new{
{1,50,highScoreTex,
{
x = {0, config.left + config.halfWidth - highScoreTex:getWidth()/2, "linear"}
}
}
}

But the text never makes it to the center of the screen and stops early. How would i slow down the animation but have it reach the same destination?

Comments

Sign In or Register to comment.