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

2.0 Jump + Label, Event Button Sorting #934

Merged
merged 5 commits into from
Jun 20, 2022

Conversation

Jowan-Spooner
Copy link
Collaborator

@Jowan-Spooner Jowan-Spooner commented Jun 20, 2022

Jump/Label

This reimplements the label functionality. The Jump event is a modification of the Change timeline. If no timeline is selected, it will jump to a label with the name in the current timeline.
grafik

Alternatively you can also specify a label when starting a timeline in code by doing DialogicGameHandler.start_timeline(resource, label). The label is optional though.

The event icon is a bit to big. Emilio should fix that.

Other

  • Added class names to the events that were missing one
  • Implemented button sorting again
  • Make sure empty/null values aren't saved
  • allow empty values in resource picker

This reimplements the goto and label functionality. GoTo only allows to jump inside the timeline, while change timeline now has a label settings as well, that allows to start the given timeline at a specific point.

Alternatively you can also specify a label when starting a timeline in code by doing DialogicGameHandler.start_timeline(resource, label). The label is optional though.

The event icons are a bit to big. Emilio should fix that.
Added class names to the events that were missing one. 

Implemented button sorting again.
@Jowan-Spooner Jowan-Spooner marked this pull request as draft June 20, 2022 18:02
The new jump event is basically a Change timeline event with a label selector. If no timeline is selected (or the current one), it will just jump to a label with the name inside the current timeline.
@Jowan-Spooner Jowan-Spooner marked this pull request as ready for review June 20, 2022 18:25
@Jowan-Spooner Jowan-Spooner changed the title 2.0 Goto + Label, Event Button Sorting 2.0 Jump + Label, Event Button Sorting Jun 20, 2022
@coppolaemilio coppolaemilio merged commit 7f05e22 into dialogic-godot:version-2.0 Jun 20, 2022
@Jowan-Spooner Jowan-Spooner deleted the goto-label branch December 26, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants