How do I Prevent Camera From Scrolling out of Layout?

Get help using Construct 2

Post » Thu Apr 28, 2016 3:33 am

Hello everyone. I'm having a bit of trouble today with scrolling, in my game I have a camera object linked to the player during gameplay, which works fine and scrolls, but the question is how can I prevent it from scrolling outside the layout?

Thanks.
B
15
S
6
G
3
Posts: 11
Reputation: 2,707

Post » Thu Apr 28, 2016 5:04 am

scrolling outside of layout? Have you somehow set Unbounded Scrolling to true?

(see https://www.scirra.com/manual/102/scroll-to and https://www.scirra.com/manual/67/layouts and search for Unbounded Scrolling for more info.)

If this isn't the case, provide us a capx.
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,459


Return to How do I....?

Who is online

Users browsing this forum: Sparkz, Yahoo [Bot] and 1 guest