Background loop

Get help using Construct 2

Post » Wed Oct 03, 2012 6:16 am

Hi,

I have decided to create a Shooting game with side view.I would like to apply a background loop(with single background) so that the player seems to be moving forward and creatures come towards him and we will be shooting it. And I would like to know how to give loop to background? so that the player object feels like moving forward.

B
2
Posts: 3
Reputation: 356

Post » Wed Oct 03, 2012 7:26 am

All I did was move an invisible sprite from left to right with the scroll to behavior, once it is at the end of the layout I destroy it with a destroy on collision with end of layout marker, wait 0.01, and then create the object again were it was at the very start. The process jsut keeps going and going.

There might be a better way to get this to work this is just what I did for mine.Hope it helps:)
B
48
S
15
G
5
Posts: 183
Reputation: 8,476

Post » Wed Oct 03, 2012 7:31 pm

B
16
S
3
G
3
Posts: 66
Reputation: 3,629

Post » Wed Oct 03, 2012 8:22 pm

The how do I FAQ in the section "Scrolling/Camera".
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, MChiz, plinkie, Radulepy and 0 guests