Infinite horizontal scrolling

For questions about using Classic.

Post » Mon Mar 21, 2011 8:24 pm

So I have a grass / ground image (non-tiled) with a plane which flies above it in a side-scroller type deal.

I can't seem to find a way to make the grass scroll horizontally and continuously. I tried using the Wrap behavior with an event to always decrement the ground images' X value, but that just makes it look jittery as opposed to a smooth continuous scroll.

Has anyone made a similar game and solved this type of issue?
B
1
G
1
Posts: 2
Reputation: 429

Post » Mon Mar 21, 2011 8:33 pm

I have just the solution to your problem.I made a cap a few months ago and i made an infinite scrolling background.Here is the cap.Examine it closely because it can be tricky.
[url:18zccw4t]http://dl.dropbox.com/u/7658043/scrollingX.cap[/url:18zccw4t]
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Mon Mar 21, 2011 8:59 pm

Awesome, thank you!
B
1
G
1
Posts: 2
Reputation: 429

Post » Mon Mar 21, 2011 9:23 pm

Here's an example:
[url:1l524kzu]http://www.scirra.com/forum/viewtopic.php?f=8&t=4817[/url:1l524kzu]
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests