Collision Problems!
Hey all,
Ive been working on a side scroller game and I've come to a major problem while making the game. All my main character does in the game is jump, because all the platforms move at him for the appearance that he is running. However, when the character jumps on a platform, the platform gets pushed down and it looks horrible. I can't simply uncheck "movable" in attributes because the platforms are moving at the character. Ive been working on a solution for days but no luck. Any thoughts of how to fix this?
Ive been working on a side scroller game and I've come to a major problem while making the game. All my main character does in the game is jump, because all the platforms move at him for the appearance that he is running. However, when the character jumps on a platform, the platform gets pushed down and it looks horrible. I can't simply uncheck "movable" in attributes because the platforms are moving at the character. Ive been working on a solution for days but no luck. Any thoughts of how to fix this?
Comments
Just drop in a constrain attribute behavior in the platform, and find out where the Y position you want it to be on the screen, and have it say for example - Constrain Attribute self.position Y to 250. You will have to unlock each actor on the stage to do this.