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
This extension adds a nice Destruction of Coin ( or any other object ) with Tween movement, fade, and sound with dynamic pitch change between each deletion.
You can add this behavior to an Object and activate it in the event sheet as an action when you want to delete the coin (Object or Group).
Use Delete Coin action (e.g., Player collides with a coin)
How to use the extension
If you put this behavior on a Coin object, you can set a new action, "Delete Coin" in the event sheet to handle the coin deletion in a nicer way
This action will automatically activate a few things:
While adding the behavior, you can select a sound and set advanced parameters like volume, duration, raising pitch, and movement.
Those parameters will be used when activating the action "Delete Coin" on the object.
Checklist
What tier of review do you aim for your extension?
Community (Unreviewed)
Example file
Platform.zip
Extension file
Coin.json.zip
Extension by @shor-ofer
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!