Move To in only 1 dimension
I'm making a forced scrolling game. How can I make the actor Move To certin points in the Y dimention only, but keep moving horizontaly at a constant rate? The Move To behaviour wants something in the X field.
thank you
thank you
Comments
Move Y to where you want move to in the Y dimension.
Move Y to where you want move to in the Y dimension like you said. It works until I add the Move right behaviour.
I have a Move behavior for the horizontal motion and a Move To behavior so the actor will reach the specific Y points. But only one works at a time.
But I found a way to do it. I created an invisible actor that pushes my hero to the right by collision. Then I used Move TO for the Y position on my character and it works.