Author Topic: [SOLVED] FlxG.followBounds problem [ collisions beyond the bounds ]  (Read 1173 times)

Dro

  • Member
  • **
  • Posts: 64
  • Karma: +0/-0
    • View Profile
hello
I have a problem with FlxG.followBounds.

if I use FlxG.followBounds every collision beyond the bounds isn't working.
for example. I have 640x480 level with 'portal' at 641 (absciss)

if I comment //FlxG.followBounds  it works perfect. if FlxG.followBounds is ON than neither collide nor overlap returns anything.

is this how FlxG.followBounds works? ignores any collides outside it?

I'm using it like that
Code: [Select]
FlxG.followBounds(0,0,currentLevelWidth,currentLevelHeight)
can you help me? thanks
« Last Edit: Sun, Feb 28, 2010 by Dro »

Dro

  • Member
  • **
  • Posts: 64
  • Karma: +0/-0
    • View Profile
[SOLVED]


used UpdateWorldBounds parameter as false ^)