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

Event and timeline improvements for 2.0 #908

Merged

Conversation

Jowan-Spooner
Copy link
Collaborator

Part 1: Portrait Picker + Documentation + identify_event() -> DialogicUtil.get_event_by_string()

Also had to update the ResourcePicker to work with portraits.

I've also added a new method that "Settings Scenes" (those that show a property of the event) can implement called react_to_change. If they have a event_resource variable, it will also be set to the one of the event so you can check for other properties. This allows the "portrait picker" to hide if there is no character selected.

Also added that Documentation links are actually opened in the browser. Only the text event has one yet.

Also moved the identify_event() function into the DialogicUtil, so it can be used by other scripts as well and renamed it to get_event_by_string().

Part 2

Currently they are saved as a dictionary. This might change depending on our implmentation of portraits.

The two examples characters have been updated as well as the timelines.

Also fixed the tooltip of the Add Character button.

Part 3

Removes a number of unnecessary variables and functions of the TimelineEditor.

Changes the get_events_indexed() and add_events_indexed() and copy_selected_events() so copying and duplicating work again.

Also had to update the ResourcePicker to work with portraits. 

I've also added a new method that "Settings Scenes" (those that show a property of the event) can implement called `react_to_change`. If they have a event_resource variable, it will also be set to the one of the event so you can check for other properties. This allows the "portrait picker" to hide if there is no character selected.

Also added that Documentation links are actually opened in the browser. Only the text event has one yet.

Also moved the `identify_event()` function into the DialogicUtil, so it can be used by other scripts as well.
Currently they are saved as a dictionary. This might change depending on our implmentation of portraits.

The two examples characters have been updated as well as the timelines.

Also fixed the tooltip of the Add Character button.
Removes a number of unnecessary variables and functions of the TimelineEditor.

Changes the `get_events_indexed()` and `add_events_indexed()` and `copy_selected_events()` so copying and duplicating work again.
@coppolaemilio coppolaemilio merged commit 521442b into dialogic-godot:version-2.0 May 28, 2022
@Jowan-Spooner Jowan-Spooner deleted the portraits_and_stuff branch December 26, 2023 17:50
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