Author Topic: Flash Game Dev Tips  (Read 51880 times)

Flynnv

  • Member
  • **
  • Posts: 65
  • Karma: +0/-0
    • View Profile
Re: Flash Game Dev Tips
« Reply #80 on: Thu, Jan 10, 2013 »
It's ever possible to use "FlxG.follow" ? Now, we must use FlxCamera, no ?

Gama11

  • Contributor
  • ****
  • Posts: 390
  • Karma: +0/-0
    • View Profile
Re: Flash Game Dev Tips
« Reply #81 on: Fri, Jan 11, 2013 »
It's ever possible to use "FlxG.follow" ? Now, we must use FlxCamera, no ?

Yeah, it changed from

Code: [Select]
FlxG.follow()
to

Code: [Select]
FlxG.camera.follow()

Flynnv

  • Member
  • **
  • Posts: 65
  • Karma: +0/-0
    • View Profile
Re: Flash Game Dev Tips
« Reply #82 on: Fri, Jan 11, 2013 »
It's not obliged to create a new FlxCamera ?

Gama11

  • Contributor
  • ****
  • Posts: 390
  • Karma: +0/-0
    • View Profile
Re: Flash Game Dev Tips
« Reply #83 on: Fri, Jan 11, 2013 »
It's not obliged to create a new FlxCamera ?

No, there already is one camera by default which you can use.

Flynnv

  • Member
  • **
  • Posts: 65
  • Karma: +0/-0
    • View Profile
Re: Flash Game Dev Tips
« Reply #84 on: Fri, Jan 11, 2013 »
Ok, thanks for information :)

photonstorm

  • Administrator
  • Key Contributor
  • *****
  • Posts: 1502
  • Karma: +1/-0
    • View Profile
    • Photon Storm
Re: Flash Game Dev Tips
« Reply #85 on: Thu, Oct 10, 2013 »
Un-sticking this thread, it's been a long time since I worked on these tutorials and things have moved on.
http://www.photonstorm.com



"Tell me and I will forget, show me and I might remember, involve me and I will understand" - Confucius