Automatic moving camera

0 favourites
  • 3 posts
From the Asset Store
Save hours of work by resizing items on your game screens.
  • I've been going through many posts to see if this question has been answered but no results so far

    What I'm trying to do is to set up a camera that automatically moves down eventually meeting the bottom of the screen as the player will have to get down obstacles before they're not visible on the screen anymore and dies

    Does anyone know how to make this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use an invisible camera sprite where the size is about the same size of your visible screen area, and enable the scroll to and bound to layout behaviors on it. Have it pinned or otherwise following your player character. When it reaches a layout edge it will no longer scroll.

  • oosyrag I think the camera should move independently from the player.

    Naokou, You can give Bullet or MoveTo behavior to the camera sprite. (and ScrollTo of course)

    Use inverted "Player is on screen" condition to check when the player is no longer visible. Or check if Player.y<ViewportTop("layername")

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