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

Suggested fix for issue #158 #213

Closed

Conversation

IQAndreas
Copy link

The FlxObject following a path will continue to move even if they run
out of path. ( see Issue #158 )
#158

This fix adds a "StopWhenFinished" option to "FlxObject::followPath",
as well as some minor changes to avoid repetitious code.

AdamAtomic and others added 10 commits August 20, 2011 12:54
Using the following function names results in Migration Issue warning
from Flash Professional:
onKeyUp, onKeyPress, onKeyDown, onMouseDown, onMouseUp, onMouseMove
AdamAtomic#206

Replaced all occurances of those names with:
handleKeyUp, handleKeyPress, etc.
(I hope I got them all!)
FlxU.formatArray() would include the first element twice:
AdamAtomic#214
Fixes GitHub issue AdamAtomic#171
AdamAtomic#171

In some places, `super.destroy()` was not required. For instance, some
classes extended `FlxBasic` which does not have any content in the
`destroy()` method.

However, just to be safe (and in case that function gets populated at a
later date), calling super was added anyway.
moly and others added 10 commits September 13, 2012 16:43
…s for negative numbers

Fixed FlxU.round() giving incorrect results for negative numbers.
AdamAtomic#191
Fix issue AdamAtomic#191 - Fixed FlxU.round() giving incorrect results for negative numbers
fixed AdamAtomic#12, AdamAtomic#220 Incorrect value for moves in FlxText, FlxTileblock and FlxTilemap
Fix issue AdamAtomic#38, AdamAtomic#193 - FlxPreloader.myURL should take a proper URL
Fix issue AdamAtomic#206 - Migration issues if published by Flash IDE
Fix issue AdamAtomic#171 - Added `super.destroy()` to all overridden `destroy()` methods
Also:
 - Avoided repetitious code (and made it clearer)
 - Fixed minor typo in ASDoc
@IQAndreas IQAndreas closed this Nov 17, 2013
@IQAndreas IQAndreas deleted the fix_issue_158 branch November 17, 2013 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants