Offsetting the Camera

This forum is currently in read-only mode.
From the Asset Store
Simple and easily editable template for a dynamic camera that zooms in and out based on how far apart the players are.
  • Still very new to using Construct (most of my time is spent painting resources atm) so please excuse my simpleton questions :P

    I have the camera set to focus on the player at all times (building a platformer) through the Event: Always (every tick) - System: Scroll to Object Player.

    This centers the player at the very middle of the screen though, and I'd like it to be slightly offset on the Y axis so that there is more space above the player than below, like in this image of Sonic:

    <img src="http://src.sencha.io/http://www.thunderboltgames.com/s/reviews/xbox360/sonic_3.jpg" border="0" />

    Any advice on how to achieve this would be greatly appreciated :)

    Many thanks for your time.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Instead of scroll to object you can try scroll to position (player.x, player.y-100).

  • Thanks man, makes perfect sense!

    Unfortunately I'm an artist and a writer who hated maths back at school. What amounts to basic logic to some people, amounts to a headache for me =P

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