Move Does Not Work as Expected
11clock
Member Posts: 450
I have this tricky enemy in my game. It first goes on screen from the right, moving to the left. I then set this timer to 0.5 seconds. After the timer goes off, the object will choose to either go immediately up or down (that parts works fine), then after another 0.5 seconds it shoots off to the left at a fast speed. When it first approaches it moves at speed of 100, then a speed of 150 for going up/down, then a speed of 200 for when it goes across the screen. My problem is that it doesn't work as expected. It moves left, then WHILE STILL MOVING LEFT it goes up/down, then WHILE STILL GOING UP/DOWN it moves to the left. This creates an unwanted diagonal movement pattern. Can someone help me?
Comments
cheers
A few weeks ako, I've made a piano by using actors for keys. The UI had a next gen "Tron" look to it and I loved the concept but when I played the instrument, keys where flying off at random times and there is nothing I could do to fix ot!
Just to be clear, i used "move to" to animate the keys when touched.
I know the gamesalad text book says that linear is suposed to be a steady transition but it seems to not be the case
If the object is moving along both X and Y cordinates you need 2 interpolates.
Interpolate
Self>position>x to ...
Self>position>y to ...
tenrdrmr:
That sounds a lot like the 'ease in' option for interpolate. I've always found linear to be steady. Maybe try deleting it and creating a new one?