Hi everyone,
I am using Lime to create a map. I got an object moving up and down by doing this:
function elevatorMove()
if elevator then
function moveDown()
transition.to( elevator, { time=3000, x=(elevator.x), y=(elevator.y + 175), transition = easing.linear, onComplete = moveUp } )
end
function moveUp()
transition.to( elevator, { time=6000, x=(elevator.x), y=(elevator.y - 175), transition = easing.linear, onComplete = moveDown } )
end
moveUp()
end
end
The problem is I can’t make this object static so when the player hit the object he will move with the platform up and down.
How can I do this or I might ask what am i doing wrong?
b-bond [import]uid: 120513 topic_id: 21525 reply_id: 321525[/import]
[import]uid: 52491 topic_id: 21525 reply_id: 85587[/import]