Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor and fix FixCamera#follow() #191

Conversation

IQAndreas
Copy link
Member

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 up FlxCamera#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:

@IQAndreas
Copy link
Member Author

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?

@WingEraser
Copy link

@IQAndreas confirmed to be working, no "jittering" bug found in my test project.

@Dovyski
Copy link
Member

Dovyski commented Nov 16, 2013

I confirm that too, no jittering. It's good to go! I've tested using Flixel Sandbox, Mode and one of my games.

IQAndreas added a commit that referenced this pull request Nov 17, 2013
@IQAndreas IQAndreas merged commit 064b978 into FlixelCommunity:dev Nov 17, 2013
@IQAndreas IQAndreas deleted the refactor-and-fix-flxcamera branch November 17, 2013 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants