Skip to content

Conversation

@arnaudvergnet
Copy link
Contributor

This PR lets the user use custom choice buttons. The custom scenes can be selected from the theme editor.

The selected scene must implement the pressed signal and have the text property available, like any component extending Button.

No checks are performed, the user is only told in the button/label tooltip in the theme editor. Selecting a scene which does not meet the requirements could crash the game.

Like with native buttons, activating custom buttons in the theme editor disables other controls.
Screenshot_20210421_113115
Screenshot_20210421_113136
Screenshot_20210421_113215

Closes #247

@arnaudvergnet
Copy link
Contributor Author

Update

This new option is now hidden by default, user must enable advanced theme options to see it.
Screenshot_20210421_122015

Screenshot_20210421_121930
Screenshot_20210421_121942

@coppolaemilio coppolaemilio merged commit 21608b0 into dialogic-godot:main Apr 21, 2021
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.

Allow using custom choice buttons

2 participants