Author Topic: FlxCamera Documentation? [SOLVED]  (Read 864 times)

jylinman

  • New Member
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
FlxCamera Documentation? [SOLVED]
« on: Fri, Apr 29, 2011 »
Hey there,

I saw the functionality in previous versions of the master trunk to follow characters...  But I am wondering what the latest update uses instead of it?

ground.follow(character);

I am assuming it has something to do with FlxCamera, but I couldn't find any documentation yet...

Thanks,
Jon
« Last Edit: Fri, Apr 29, 2011 by jylinman »

Adam Atomic

  • Founder
  • Key Contributor
  • *****
  • Posts: 852
  • Karma: +0/-0
  • new dad
    • View Profile
    • Adam Atomic
Re: FlxCamera Documentation?
« Reply #1 on: Fri, Apr 29, 2011 »
FlxTilemap.follow() should be fine still, as well as FlxG.camera.follow()

jylinman

  • New Member
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: FlxCamera Documentation?
« Reply #2 on: Fri, Apr 29, 2011 »
Oh gotcha, its on the FlxTilemap. Thanks bro