New extension: DialogHelper #1774
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
DialogHelper adds easy-to-use dialog boxes to GDevelop, though the extension is not perfect, it does still work.
How to use the extension
To begin using DialogHelper, start by creating a Dialog Box object, then specify all the parameters that you need. Afterwards use the Change Dialog Text action to change the text that will be displayed when the Play Dialog action is used.
For choices:
Use the Add Choices action to add choices to a dialog (use before playing dialog.) Then, use the Is Dialog Choice Equal To condition to check if the last dialog choice was equal to whatever you specified.
If you want to see what exactly the last dialog choice was use the LastDialogChoice parameter.
NOTE:
You need to edit the default variant of the dialog box to have a texture before using the dialog box in a new project, otherwise it will result in a missing texture. I do not know how to fix this as of right now.
Checklist
What tier of review do you aim for your extension?
Community (Unreviewed)
Example file
DialogHelper Example.zip
Extension file
DialogHelper.zip
Extension by @TheGuyThatMakesThings
You can update the extension on this "Pull Request" by commenting the update command: in the comment field, type
!update
, then drag and drop a zip file with your extension file in the commenting field, like how you initially submitted the extension. It should look like this:It can take a few seconds for the file to fully upload and show as the above. Once it is like shown above, click "Comment" and let the bot do the rest!