Whole Layer scrolling

Get help using Construct 2

Post » Fri Jan 11, 2013 11:06 am

Wondering if there is a better way to make a whole layer to scroll in a side scrolling shooter.

Right now I am moving a parallax layer by self.X-8*dt and the player itself with self.X+self.xSpeed*0.1*dt on every tick.

The problem as I see is that I dont move the object layer where the game level difficulties are designed (parallax 100,100) and hence it only moves when the player reaches the center of the screen and so on.

Is there a better way?
Krish
Hey! Did you know that you can hire me to make your games?

Click Here to See More
B
21
S
5
G
5
Posts: 391
Reputation: 5,577

Post » Fri Jan 11, 2013 11:06 am

One tricky way is to probably spawn the player at the center of the screen :)
Krish
Hey! Did you know that you can hire me to make your games?

Click Here to See More
B
21
S
5
G
5
Posts: 391
Reputation: 5,577

Post » Fri Jan 11, 2013 11:09 am

I'm not sure I fully understand the question, a .capx would help. Though try turning on unbounded scrolling in the layout properties.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Braus, supreme676 and 7 guests