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

Speaker highlight improvements #1941

Merged
merged 3 commits into from
Dec 5, 2023
Merged

Conversation

Jowan-Spooner
Copy link
Collaborator

  • fixes Importing portraits from folders

  • moves a bunch of code into the DialogicPortrait class so simple custom portraits are easier to create.

  • makes it so _unhighlight is called if noone speaks.

  • adds a example custom portrait scene that can highlight and bring the speaker to the front

This offloads a lot of the work for simple Sprite and TextureRect based portraits a lot easier by having helper methods on the portrait do that work.
This will allow us to make more variations of these kinds of portraits very easily.
Also small jump suggestions change.
@Jowan-Spooner Jowan-Spooner merged commit 841c7e7 into main Dec 5, 2023
@Jowan-Spooner Jowan-Spooner deleted the speaker_highlight_improvements branch December 21, 2023 10:00
Invertex pushed a commit to Invertex/dialogic that referenced this pull request Jan 26, 2024
* Fix simple-string portraits

* Fix _highlight & _unhighlight and make custom portrait easier

This offloads a lot of the work for simple Sprite and TextureRect based portraits a lot easier by having helper methods on the portrait do that work.
This will allow us to make more variations of these kinds of portraits very easily.

* Example Custom Portrait with Highlighting

Also small jump suggestions change.
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.

None yet

1 participant