I am trying to do a monologue scene in which instructions are explained for the next challenge. In this the player can move left to right but once the monologue is complete, collision with the door will trigger a transition to the next scene. However, when moving the character with the left and right keys while the monologue is running (after releasing the left mouse to change to the next line in the monologue), when the sprite hits this area of the X axis it does a weird thing where it starts travelling up and down at a rapid rate so it looks like there is many of the sprite along the y axis, can anybody help?
Now that I check, the collision with the door isn’t working either and I’m not sure if thats due to the glitching sprite or something wrong with my event setting
What area of the X axis? Are there any other events, particularly ones related to player movement?
The forum wouldn’t let me attach anymore images because I am a new member, but essentially as soon as the character reaches where he is on the X axis in this image he starts glitching up and down the Y axis rapidly. Those are the only events in this scene. Behaviours he has is physics 2, platformerobject and screen wrap, and the only other object with a behaviour is the floor which acts as a platform
For context he normally stands on the floor, this screenshot was taken in the middle of the glitch
I think you can include an image per post/reply.
Don’t have Physics 2 behaviour and platformer object on the same object. They can conflict.
thank you! that fixed it!
Without physics 2, do you know how i can make it so that when the player is in front of the door object it activates the newshapepainter to transition to the next scene?
There are a couple of ways.
- Create a sprite of whatever you want, hide it and place it in front of the door. When the player collides with it, start the scene transition.
- Add a custom point to the player object that’s in front/to the right of it. Then check whether the point is in the door object, and start the scene transition if so.
Thank you so much for your help! It’s all running smooth now.