Skip to content

Remove the resetGame() method#119

Merged
stringdotjar merged 1 commit intodevelopfrom
bugfix/reset-game
Apr 9, 2026
Merged

Remove the resetGame() method#119
stringdotjar merged 1 commit intodevelopfrom
bugfix/reset-game

Conversation

@stringdotjar
Copy link
Copy Markdown
Owner

Description

This PR removes the resetGame() method from the framework, as we (like many others) have to fight libGDX to properly restart the game.

We might possibly add this back in the future, but as of right now, we won't support it, as based on how libGDX is designed, there's no easy nor efficient way to properly execute this kind of functionality without hacky workarounds and potentially breaking the framework.

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
  • Other (please specify in description)

Checklist

  • My PR targets the develop branch, not master/main.
  • My code follows the code style of this project (if any code was added or changed).
  • I have performed a self-review of my own code (if any code was added or changed).
  • I have commented my code, particularly in hard-to-understand areas (if any code was added or changed).
  • 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 (if any code was added or changed).

Screenshots / Evidence (if applicable)

Add screenshots or logs to help explain your changes.

@stringdotjar stringdotjar self-assigned this Apr 9, 2026
@stringdotjar stringdotjar added core Core logic module of the framework refactor Parts of the code need to be moved, enhanced, changed, or removed labels Apr 9, 2026
@stringdotjar stringdotjar moved this from 🗒️ Todo to 💯 Approved in FlixelGDX Project Board Apr 9, 2026
@stringdotjar stringdotjar merged commit 04c7611 into develop Apr 9, 2026
8 checks passed
@github-project-automation github-project-automation bot moved this from 💯 Approved to ✅ Completed in FlixelGDX Project Board Apr 9, 2026
@stringdotjar stringdotjar deleted the bugfix/reset-game branch April 9, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core logic module of the framework refactor Parts of the code need to be moved, enhanced, changed, or removed

Projects

Status: ✅ Completed

Development

Successfully merging this pull request may close these issues.

1 participant