Scrollto from the bottom

Get help using Construct 2

Post » Fri Sep 27, 2013 2:17 pm

I would like for my game to be more leveled. Right now the game is centered with the player using the scrollto plugin. I would like to fill the bottom of the screen so it shows my whole background and no black space at the bottom.


https://dl.dropboxusercontent.com/u/10677307/crop.png

Essentially I would like for the player to scroll at the bottom of the screen. Any help would be great. Thanks
B
71
S
16
G
2
Posts: 46
Reputation: 6,272

Post » Fri Sep 27, 2013 2:24 pm

You have a couple choices. First, you could make your level along the bottom of your layout and disable unbound scrolling so it can't exit. You could also have a small, invisible object that you set to follow the player (maybe at player.x, player.y+180) to make an offset and use scroll to to THAT object instead of the player.

Really, I'd use both and then get fancy and use lerp in how you set your invisible object's position to make it smooth.
B
103
S
38
G
19
Posts: 962
Reputation: 17,986

Post » Fri Sep 27, 2013 2:40 pm

Great Information. Thanks C-7
B
71
S
16
G
2
Posts: 46
Reputation: 6,272


Return to How do I....?

Who is online

Users browsing this forum: NN81, TsubaRu, yippiez and 11 guests