How do I make the layout scroll upwards/downwards

Get help using Construct 2

Post » Wed Aug 12, 2015 1:46 pm

Hi. So I am making a map kinda like super mario aka very long layout like this:

Image

The background is temporary until I make my own and I haven't decide yet the way is going to be. Not sure if I should go tiled background or just a sprite.

Right now is just a sprite that I resize to cover the whole layout while I was starting to get the basics of my game. Now I want to advance further and I need to take care of the background mechanics.

I also want to make the game going upwards, like in Super Mario you would go higher up in the clouds. Do I need to resize the layout to have a higher height or is there any trick to it? Any tips would be helpful.

I was thinking that I should just make the layout as big as I want both width and height and just make the background fit the resolution size with parallax 0,0 but not sure if that's a good way to go and also I'm afraid it might look a bit stiff.

Thanks
B
14
S
5
Posts: 248
Reputation: 1,705

Post » Wed Aug 12, 2015 9:19 pm

I would use the TiledBackground and just have environment sprites (like clouds? birds? etc?) on a layer above that in order to change the scene as you move up.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Wed Aug 12, 2015 9:52 pm

You can turn on "unbounded scrolling, and therefore there's no size to the layout anymore. you would limit what the player can see by simply not having things for them to jump on etc. or invisible walls preventing them from going where they shouldnt
B
83
S
40
G
15
Posts: 987
Reputation: 16,847

Post » Thu Aug 13, 2015 12:17 am

The unbound doesnt work for the kind of platformer Im making I think
B
14
S
5
Posts: 248
Reputation: 1,705

Post » Thu Aug 13, 2015 2:55 pm

Still need some help :P
B
14
S
5
Posts: 248
Reputation: 1,705


Return to How do I....?

Who is online

Users browsing this forum: stevenode, tarek2 and 9 guests