We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d81d10 commit 32bc4cdCopy full SHA for 32bc4cd
src/org/flixel/FlxSprite.as
@@ -461,8 +461,8 @@ package org.flixel
461
camera = cameras[i++];
462
if(!onScreen(camera))
463
continue;
464
- _point.x = x - int(camera.scroll.x*scrollFactor.x) - FlxU.floor(offset.x);
465
- _point.y = y - int(camera.scroll.y*scrollFactor.y) - FlxU.floor(offset.y);
+ _point.x = x - int(camera.scroll.x*scrollFactor.x) - offset.x;
+ _point.y = y - int(camera.scroll.y*scrollFactor.y) - offset.y;
466
_point.x += (_point.x > 0)?0.0000001:-0.0000001;
467
_point.y += (_point.y > 0)?0.0000001:-0.0000001;
468
0 commit comments