Strange Scrolling Behavior

Discussion and feedback on Construct 2

Post » Thu Jan 23, 2014 6:05 pm

I fired up my current platformer project today, added a few things to it, went to run it and found the layout loaded in a completely strange area, about in the middle of the level, far from the player sprite. I have an "every tick scroll to player" action as well. Any idea what's going on??
B
11
S
3
Posts: 30
Reputation: 745

Post » Thu Jan 23, 2014 6:18 pm

In an effort to troubleshoot the problem, I moved the character sprite to the location in the level that was shown when I played. This time, it doesn't show the same area - its further down the level - but the game plays fine...its just that the camera is way off. What switch do I have flipped that I shouldn't?
B
11
S
3
Posts: 30
Reputation: 745

Post » Thu Jan 23, 2014 6:22 pm

Nevermind! I figured it out!

I had duplicated the player object to create a new enemy...thus also duplicating it's "Scroll To" behavior. The game was fighting over which character to point the camera on, so it picked the point in the middle.
B
11
S
3
Posts: 30
Reputation: 745

Post » Thu Jan 23, 2014 6:22 pm

check that you didn't accidentally disable the scroll to behavior, or also give it to something else...
B
94
S
33
G
20
Posts: 438
Reputation: 17,605


Return to Construct 2 General

Who is online

Users browsing this forum: Cliffu and 4 guests