Multple 'Scroll to' Layout Scaling

  • I did some looking around but I couldn't find a post within Scirra regarding scaling while using the scroll to behavior on multiple objects.

    I am looking to have the layout scale down when my scroll objects get far away from each other. This would allow me to keep both objects on screen even when they are far away from each other.

    Any help on this topic would be appreciated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The problem was far more simple then I had first thought.

    On every tick check for the furthest scroll to object.

    If it is over half the width of the screen minus padding assign it to layout scale.

    This is a very basic version of what I was looking to achieve, but I wanted to upload it in its basic form so that it can help others with a similar need.

    <img src="http://s7.postimg.org/fao1m9xmj/camera_Scale.png" border="0" />

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