Closed IQAndreas closed 10 years ago
One thing though, I haven't actually observed the "jittering" bug (perhaps my eye is not as well trained as most), so I'm not sure if this change brought back the problem. @Dovyski, did you say you had a project with jittering, could you double check this?
@IQAndreas confirmed to be working, no "jittering" bug found in my test project.
I confirm that too, no jittering. It's good to go! I've tested using Flixel Sandbox, Mode and one of my games.
So sorry I procrastinated this, I finally sat down and read through how
FlxCamera
handles following targets (and it was much more simple than I thought it would be).This pull request fixes the last tiny error with
FlxCamera
(and I now understand why that*0.25
part was accidentally included), but also is tidies upFlxCamera#follow()
by merging similar camera styles and renaming variable names to be more descriptive.I have tested and confirmed that it works as expected, at least in Mode. If anyone else wants to test the resulting SWC: