Control the camera ??

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • use the "scroll to" event , not the "scroll" behavior !

    This way , you can change easily the scroll to object !

  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)