Control the camera ??

Get help using Construct 2

Post » Tue Oct 16, 2012 7:57 pm

Howdy-- i have this little demo game here:
"http://mpdemos-7.scienceontheweb.net/" and it's all good so far. The thing is-- i have the camera set to scroll on the red crab && it doesn't always come in first. I would like to set-up the camera so's that it scrolls with whichever crab is first after the turn < the winner > so that it looks better when that one crosses the finish line. Is not always a problem-- but rarely it is.
I am thinking it might need to be an "if/else" but, am clueless as to how i would go about that. I would be grateful for any reply or help at all &&
kind regards, mark-p.
B
12
S
3
G
3
Posts: 92
Reputation: 3,949

Post » Wed Oct 17, 2012 2:29 am

use the "scroll to" event , not the "scroll" behavior !
This way , you can change easily the scroll to object !
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Wed Oct 17, 2012 8:18 pm

Thanks for the reply Buddy-- && will do.
--UPDATE: Hey, yeah, that works great. I didn't realize that it would center the view between multiple objects at once and it works just right.
Also, turned "pixel-rounding" ON && "iOS Retina or whatever" to OFF in the props window && it looks and plays about 100% better. Thanks for your help.markpouncey2012-10-19 19:26:35
B
12
S
3
G
3
Posts: 92
Reputation: 3,949


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests