Object Following Camera

0 favourites
  • 2 posts
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.
  • Hi~

    I have an issue about the camera following~

    I searched manual and frequently asked question~

    But seems no luck on this~

    There have topic which teaches how to create lifebar~

    But didn't have "how to follow camera"~

    It's a top down camera viewing game~

    I have a player which can move around with "8 direction"~

    And the player is applied "scroll to" behavior on it~

    I need to set a lifebar(etc...) by following the camera~

    Here's my event sheet~

    Every tick, set lifebar position to~

    X: windowWidth/2+300, Y: windowHeight/2~

    I think by this the lifebar will keep following the camera~

    But actually it's not, the lifebar still stay on same location~

    It won't follow the camera~

    Is there any way to acchieve this "camera following"?

    Hope somebody can help, thanks you~ ^^

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Put your HUD elements on a layer with parralax 0,0. Did you follow the beginner's tutorial?

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