I am trying to use an image, lets say a boat, it slide of in the right direction then it comes back, I can use 2 images, or use scale(-1) on a copy of the one image, in terms of memory, its still using 2 images. when I try to put the -1 in scaleX within the movie clip, the image doesnt flip, so is this possible? and have I got the syntax right?
self:addChild(boatR)
mcBoat=MovieClip.new{
{1,500, boatR,{x={-50,(application:getLogicalHeight()),"linear"}}},
{500,1000, boatR,{x={(application:getLogicalHeight()),-50,"linear"}}, scaleX={-1,-1} }
} |
REAL programmers type copy con filename.exe
---------------------------------------
Comments
Likes: Cyberience
Should post this in a tutorial!
Thanks
---------------------------------------
Likes: Cyberience