How do I make a scrolling and changing background?

Just started using Construct 2? Post your questions here

Post » Fri Oct 10, 2014 12:03 am

I'm new here and I'm wading through all the docs. Honest!

But I'm stuped on how to make a background that will scroll, but where I can change the images randomly as they scroll. I'm looking to make an endless runner so I want the background to scroll by but show different buildings that I'll insert randomly. The point is to make it look like it is an "endless" runner even though there will be repeating. But I wnat to have the pictures change randomly so it doesn't look like it is repeatig.

I apologise if this is somewhere and I've missed it. I need to put a newbee image in my sig but I don't have one. :oops:
B
6
Posts: 5
Reputation: 270

Post » Fri Oct 10, 2014 3:53 am

how about set your background to Self.X -5 to scroll left?
then spawn random object on imagepoints inside your background
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
63
S
14
G
2
Posts: 291
Reputation: 6,641

Post » Fri Oct 10, 2014 4:58 pm

puntodamar wrote:how about set your background to Self.X -5 to scroll left?
then spawn random object on imagepoints inside your background


Sounds great. I'll do that. Thanks so much for answering!
B
6
Posts: 5
Reputation: 270

Post » Sat Oct 11, 2014 12:39 am

you're welcome. feel free to ask aything :)
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
63
S
14
G
2
Posts: 291
Reputation: 6,641


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest