How do I confine player movement area at layout's end?

Get help using Construct 2

Post » Sat Jul 22, 2017 8:47 am

I'm trying to make a platform game where there is a boss at the end of the layout. To allow the player to focus on the boss, I wish for the layout to have 0% x 0% parallax when it reaches that area. Do I have to create a new layout for this to happen or is there a way to keep it in the same layout? Any comments or help is deeply appreciated. Thanks!
B
17
S
2
Posts: 34
Reputation: 853

Post » Sat Jul 22, 2017 10:43 am

I'm guessing you have the scroll to behaviour on the avatar or on an object tied to the player's position?
If so, the simplest way would be to disable the scroll-to behaviour on the avatar/camera once the avatar passes into the boss area.
Another way, if you're using a camera object, would be to disassociate the camera from the player on reaching the boss area and move it the centre of the area.
B
20
S
9
G
4
Posts: 473
Reputation: 4,260


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 46 guests