How do I do illusion of a giant game map that never-ending

Get help using Construct 2

Post » Fri Dec 26, 2014 7:16 am

I have a layer of game in 1980X1080 (page (layer) size).
I have a car with a car's behavior.
all the layer is roads for the car.

When I drive and reaches the right screen (end screen) the car gets stuck and stops.

My question is whether it is possible to get to the other side of the screen (start when you reach the end) and give the illusion of a giant game map that never-ending. The map is displayed like a loop.

its very hard to me to explain this and I hope this understood.
B
13
S
2
Posts: 95
Reputation: 861

Post » Fri Dec 26, 2014 7:30 am

This is similar to the wrap behavior but its must have a smooth motion like Scroll to behavior when it comes to the end and goes back to the beginning to do illusion of a giant game map.

I think the question more understandable now :-) Sorry for my English.
B
13
S
2
Posts: 95
Reputation: 861

Post » Fri Dec 26, 2014 9:13 am

I did this but it really does not move smoothly. Does anyone know how this could be improved so that it will run smooth and will not see the jump.
You do not have the required permissions to view the files attached to this post.
B
13
S
2
Posts: 95
Reputation: 861

Post » Fri Dec 26, 2014 10:52 am

You should check out the How do I FAQ and take a look at the "Scrolling / Camera" section.

What you are looking to achieve is an infinite scrolling.
In what your capx displays it sounds like an horizontal scrolling.

Also, consider using the "Edit" function from the forum (the little pen icon in the top right of your message) instead of posting multiple posts in a row.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
289
S
112
G
94
Posts: 7,333
Reputation: 69,293


Return to How do I....?

Who is online

Users browsing this forum: David181, OBLIVION and 63 guests