Add remaining FlixelTweenTypes LOOPING, PINGPONG and BACKWARD#58
Merged
stringdotjar merged 14 commits intostringdotjar:developfrom Mar 10, 2026
Merged
Conversation
- AddLOOPING, PINGPONG, and BACKWARD to FlixelTweens - Add active variable - Add delayToUse variable - Add waitingForRestart variable
- Fix FlixelPropertyTween math for new value - Revert changes on FlixelTween update - Add begind for snapshotarray
…nto feature/sub-issue-38-remaining_tweens
stringdotjar
reviewed
Mar 7, 2026
flixelgdx-core/src/main/java/me/stringdotjar/flixelgdx/tween/FlixelTween.java
Outdated
Show resolved
Hide resolved
stringdotjar
reviewed
Mar 7, 2026
flixelgdx-core/src/main/java/me/stringdotjar/flixelgdx/tween/FlixelTween.java
Outdated
Show resolved
Hide resolved
stringdotjar
reviewed
Mar 7, 2026
flixelgdx-core/src/main/java/me/stringdotjar/flixelgdx/tween/FlixelTween.java
Outdated
Show resolved
Hide resolved
stringdotjar
reviewed
Mar 7, 2026
flixelgdx-core/src/main/java/me/stringdotjar/flixelgdx/tween/FlixelTween.java
Outdated
Show resolved
Hide resolved
stringdotjar
reviewed
Mar 7, 2026
flixelgdx-core/src/main/java/me/stringdotjar/flixelgdx/tween/FlixelTween.java
Outdated
Show resolved
Hide resolved
stringdotjar
reviewed
Mar 7, 2026
flixelgdx-core/src/main/java/me/stringdotjar/flixelgdx/tween/FlixelTween.java
Show resolved
Hide resolved
stringdotjar
reviewed
Mar 7, 2026
flixelgdx-core/src/main/java/me/stringdotjar/flixelgdx/tween/FlixelTween.java
Outdated
Show resolved
Hide resolved
stringdotjar
reviewed
Mar 7, 2026
flixelgdx-core/src/main/java/me/stringdotjar/flixelgdx/tween/FlixelTweenManager.java
Outdated
Show resolved
Hide resolved
stringdotjar
reviewed
Mar 7, 2026
flixelgdx-core/src/main/java/me/stringdotjar/flixelgdx/tween/FlixelTweenManager.java
Show resolved
Hide resolved
stringdotjar
reviewed
Mar 7, 2026
flixelgdx-core/src/main/java/me/stringdotjar/flixelgdx/tween/FlixelTween.java
Show resolved
Hide resolved
stringdotjar
reviewed
Mar 7, 2026
flixelgdx-core/src/main/java/me/stringdotjar/flixelgdx/tween/FlixelTweenManager.java
Outdated
Show resolved
Hide resolved
stringdotjar
reviewed
Mar 7, 2026
flixelgdx-core/src/main/java/me/stringdotjar/flixelgdx/tween/FlixelTweenManager.java
Outdated
Show resolved
Hide resolved
stringdotjar
requested changes
Mar 7, 2026
Owner
stringdotjar
left a comment
There was a problem hiding this comment.
Nice job! There's just a few things to do left you need to do before I merge it into the codebase:
- Fix your formatting to match what's in the
.editorconfigfile. Remember, we want the codebase to look like it was written by a single person - Update the Javadocs and your comments as stated in the GitHub comments I left
- When the tween restarts, it goes back to the starting values where the tween started at before the tween started. This should not happen. For example, if a sprite had its
xfield start at0f, and it's being tweened to400f, and it was cancelled and restarted at200f, it should restart and begin at200f, not back from0f. This applies to all tween types - Refactor
destroy()to use thereset()method and replace theresetBasic()call inreset()to usedestroy(), as we want both methods to do the same thing for backwards compatibility
stringdotjar
reviewed
Mar 7, 2026
flixelgdx-core/src/main/java/me/stringdotjar/flixelgdx/tween/FlixelTween.java
Outdated
Show resolved
Hide resolved
- Fix code formatting - Updated descriptions - Refactor logic
Signed-off-by: Julian Saavedra <julian.felipe.saavedra@gmail.com>
- Fix javadocs - Pull in develop
- Waiting for restart is not being used, hence removing
stringdotjar
approved these changes
Mar 10, 2026
Owner
stringdotjar
left a comment
There was a problem hiding this comment.
Nice j*b! I'll merge it for you :>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue: #38
Description
The goal is to include the BACKWARD, LOOPING and PINGPONG tween types to allow further control of the tweening system.
Type of Change
Checklist
Screenshots / Evidence (if applicable)
PINGPONG

LOOPING

BACKWARD
