Skip to content

Rework tweening system and fix tweening bugs#49

Merged
stringdotjar merged 6 commits intodevelopfrom
core/tweening
Mar 9, 2026
Merged

Rework tweening system and fix tweening bugs#49
stringdotjar merged 6 commits intodevelopfrom
core/tweening

Conversation

@stringdotjar
Copy link
Owner

@stringdotjar stringdotjar commented Mar 6, 2026

Description

closes #47
closes #59

This pull request fixes the cancel() crash, and also reworks the way tweens are added to the global (or any) FlixelTweenManager. It also reworks the tweening system to use default builders for constructing tweens with ease, while also leaving the old methods for simpler use.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactor / Optimization

Checklist

  • My PR targets the develop branch, not master/main.
  • My code follows the code style of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes pass all automated build checks.
  • I have updated the documentation accordingly (if applicable).
  • I have added tests that prove my fix is effective or that my feature works.

Screenshots / Evidence (if applicable)

Add screenshots or logs to help explain your changes.

@stringdotjar stringdotjar self-assigned this Mar 6, 2026
@stringdotjar stringdotjar added core Core logic module of the framework refactor Parts of the code need to be moved, enhanced, changed, or removed tweening Custom tweening system for adding animations on objects labels Mar 6, 2026
@stringdotjar stringdotjar moved this from Todo to In Progress in FlixelGDX Project Board Mar 6, 2026
@stringdotjar stringdotjar marked this pull request as ready for review March 8, 2026 01:20
@stringdotjar stringdotjar added the approved This pull request passes all requirements and is ready to be merged label Mar 8, 2026
@stringdotjar stringdotjar moved this from 🏗️ In Progress to 💯 Approved in FlixelGDX Project Board Mar 8, 2026
@stringdotjar stringdotjar removed the approved This pull request passes all requirements and is ready to be merged label Mar 8, 2026
@stringdotjar stringdotjar moved this from 💯 Approved to 🏗️ In Progress in FlixelGDX Project Board Mar 8, 2026
@stringdotjar stringdotjar marked this pull request as draft March 8, 2026 20:50
@stringdotjar stringdotjar marked this pull request as ready for review March 8, 2026 22:31
@stringdotjar stringdotjar moved this from 🏗️ In Progress to 💯 Approved in FlixelGDX Project Board Mar 8, 2026
@stringdotjar stringdotjar added the approved This pull request passes all requirements and is ready to be merged label Mar 8, 2026
@stringdotjar stringdotjar merged commit 2ba73ca into develop Mar 9, 2026
6 checks passed
@github-project-automation github-project-automation bot moved this from 💯 Approved to ✅ Completed in FlixelGDX Project Board Mar 9, 2026
@stringdotjar stringdotjar moved this from ✅ Completed to 💯 Approved in FlixelGDX Project Board Mar 9, 2026
@stringdotjar stringdotjar deleted the core/tweening branch March 9, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved This pull request passes all requirements and is ready to be merged core Core logic module of the framework refactor Parts of the code need to be moved, enhanced, changed, or removed tweening Custom tweening system for adding animations on objects

Projects

Status: 💯 Approved

Development

Successfully merging this pull request may close these issues.

1 participant