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

add removeNow arg on remove and replace #401

Merged
merged 2 commits into from
Aug 15, 2023
Merged

add removeNow arg on remove and replace #401

merged 2 commits into from
Aug 15, 2023

Conversation

Geokureli
Copy link
Member

The FlxFSM demo has a bug where collecting the super jump while on the ground and jumping results in a regular jump, and all jumps after are super jumps. the state stack won't remove transitions from the current state until you leave that state. this was added to prevent issues where you could not escape the current state, for instance in the demo, if you landed a jump onto the powerup you would never leave the jump state, since Jump->Idle was removed.

This adds the ability to immediately remove transitions when desired and when deemed safe by the dev

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.

1 participant