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

Skip event button self delete #109

Closed
wants to merge 2 commits into from
Closed

Skip event button self delete #109

wants to merge 2 commits into from

Conversation

TripleCubes
Copy link
Contributor

Description

Skip event button self delete

Related issue(s)

#97

List of changes

Skip event button will delete itself if DEBUG_SKIP_EVENT is false. SkipEventButton is now available in the node selection menu. SkipEventButton doesnt need to connect its pressed() signal anymore since the _pressed() function is called directly.

Also add SkipEventButton to mob and dialogue scene, altho dialogue scene still have bug that prevent any button other than the dialogue button from being pressed.

Tests

If you wrote test scripts to use with GUT, provide a summary of those tests here.

Additional notes

If you have anything more to add.

Skip event button will delete itself if DEBUG_SKIP_EVENT is false.
SkipEventButton is now available in the node selection menu.
SkipEventButton doesnt need to connect its pressed() signal anymore since
the _pressed() function is called directly.

Also add SkipEventButton to mob and dialogue scene, altho dialogue scene
still have bug that prevent any button other than the dialogue button
from being pressed.
Copy link
Collaborator

@Turtyo Turtyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would make the skip button bigger for the mob event and the dialogue event (as it is now, I think it's a bit too small).
I also notice that the button is not enabled by default for the shop and the heal. We can either decide:

  • those are temporary screen anyway, if people want to skip them they just need to activate the debug option, and it wont' stay like that for long
  • it's better if they are activated by default (even if the debug var is set to false), since you can't do anything if it's not activated

I think we can go for solution 1 honestly, it might add more code that we don't really need, we can already skip by activating the debug var anyway

@Turtyo Turtyo linked an issue Jun 15, 2024 that may be closed by this pull request
@TripleCubes TripleCubes closed this by deleting the head repository Jul 5, 2024
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.

Change the way event skip button works to spawn them on any scene
2 participants