How do I make my camera keep focus on one object

Get help using Construct 2

Post » Sun Jan 11, 2015 1:49 am

Greetings again!

I have attached a picture of the group for the camera (scrollto behavior) when focused on the main Player sprite. I have an action that disables the group and changes the Goocontrol variable to something else and the camera will proceed to move to the appropriate other object. The issue is that the project never seems to want to let the Player sprite out of sight. When I move the new object that the camera is following further and further away from the Player sprite the scrolling will eventually slow to a crawl, leaving the Player sprite just barely out of sight and the object that the camera is now following out of sight.

When the camera is following the Player sprite it functions fine.

Thank you.
You do not have the required permissions to view the files attached to this post.
B
10
S
2
G
2
Posts: 87
Reputation: 1,274

Post » Sun Jan 11, 2015 3:04 am

You don't need the Every tick conditions, the global variables will run every tick.
Can you show the event that change the global variables.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Sun Jan 11, 2015 3:21 am

Thanks for the information, the every tick has been removed.

I am a noob. Another object had the scrollto behavior enabled.
B
10
S
2
G
2
Posts: 87
Reputation: 1,274


Return to How do I....?

Who is online

Users browsing this forum: minigame and 9 guests