I want to create and effect of distributing cards in a construct 2 game. I have a starting position (500,215) from where cards are distributed. There are 6 players in game and each player will have 5 cards. I have an array of positions where each card object should go. I have been trying to achieve this using lerf() function, but it doesn't work.
My implementation of lerp() function can be found here. Are there any other ways to achieve this in construct 2? I want to make something that does following in construct 2,
Move card from A(500, 215) to Position(0) in array - take 1 sec to move from initial position to destination position.