Skip to content

[Bug] Flixel.resetGame() doesn't work properly and doesn't update the game anymore #113

@stringdotjar

Description

@stringdotjar

Bug Description

When Flixel.resetGame() is called, it doesn't properly restart the game, but rather there are (currently) hacky workarounds.

(Note: this happened because I mixed up the difference between ApplicationListener's dispose() and Gdx.app.exit() methods.)

Steps to Reproduce

Simply just call Flixel.resetGame() anywhere in a FlixelGDX game.

Expected Behavior

It should properly restart the game and update it normally.

Logs or Screenshots

No response

FlixelGDX Version

0.1.0-beta

Platform

Core (Every Platform)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcoreCore logic module of the framework

    Projects

    Status

    🐛 Bugs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions