How do I can just scroll y but not x by using unbounded ?

Get help using Construct 2

Post » Mon May 23, 2016 12:27 pm

How do I can just scroll y but not x by using unbounded scrolling ?
I try it ,set unbounded scrolling yes or no ,it didn't work!
the event i set System set scroll y to sprite.y !

my layout size' height is 2000 and also try set margins height 2000
B
14
S
5
G
2
Posts: 16
Reputation: 1,970

Post » Mon May 23, 2016 1:12 pm

Here is an example of what I think you are asking:

https://dl.dropboxusercontent.com/u/706 ... oller.capx
Nothing goes unanswered!
B
24
S
5
G
1
Posts: 434
Reputation: 3,446

Post » Mon May 23, 2016 2:41 pm

@briggybros thanks,but that not my ask.!
i just want my player jump up and up all the time ,not right or left
here is the capx
[url]static.gitcod.com/upload/game/scrollup.capx[/url]
when i set unbounded scrolling to yes, the scroll will scroll up as the player jump,but will scroll x too
B
14
S
5
G
2
Posts: 16
Reputation: 1,970

Post » Mon May 23, 2016 6:15 pm

just disable the scroll to behavior
the event every tick --> scroll to player.Y is enough
B
22
S
4
G
3
Posts: 61
Reputation: 2,683

Post » Tue May 24, 2016 12:17 am

@Tuiii I try it ,but also not work !
my layout i set unbounded scrolling to No,and Every tick ,scroll to player.y
Thanks! I get it.! the layout only start from bottom to up and will not pass the top of the layout !
B
14
S
5
G
2
Posts: 16
Reputation: 1,970


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 20 guests