The O.G. Virtual learning! Buy one, get 2 more Lifetime Memberships! - Click Here!

Camera movement for coins portal

Home 4 Forums iOS / tvOS Starter Kits The Platform Games iOS and tvOS Starter Kit Camera movement for coins portal

This topic contains 1 reply, has 2 voices, and was last updated by  Justin 3 years, 7 months ago.

  • September 17, 2017 at 8:40 pm #171499

    Hello Justin,
    In the classic side scroll demo, when a player goes to the portaltocoins, I notice that the camera doesn’t follow the player until the player exits the coins portal. Can I know how can I achieve this because when the one I tried, the camera still moves with the player within my project’s coins portal.

  • October 2, 2017 at 5:59 pm #172623

    Look for this line in the kit…

    let moveCam:SKAction = SKAction.move(to: camLocationToGoTo, duration:0)

    You can change the duration. But if you do, look a few lines above that code and change the duration for how long it takes to move the player. Both are at 0 now.

You must be logged in to reply to this topic.

Know what an affiliate program is? You make money just by sharing links to our site! Win. Win.

Earn when you refer any buyer here! 30 day tracking. Commissions are 33%-50% and recur on subscription products!

Uh oh, missing your affiliate ID. Create one real quick