
Cocos Creator Component -- Button Effect
A downloadable Cocos Component for Windows
๐ Introduction
Button Effect is a plug-and-play Cocos Creator component for quickly adding interactive animation effects to UI buttons, such as click-to-scale, rotation, glow, and hover feedback.
No complex code is required; simply select the desired effects in the Inspector to combine them, making it ideal for beginners and commercial projects.
----------------------------------------------------------------------------------------------------------
๐ฎ Supported Effects
- ๐ฏ Smart Camera Modes
- FOLLOW Mode (smooth player tracking)
- PLATFORM Mode (horizontal focus with vertical dead zone)
- BOSS LOCK Mode (automatic cinematic lock area)
- Dynamic Zoom System
- Auto zoom based on player distance
- Adjustable min/max zoom
- Smooth zoom transition
- AND More
All effects can be freely combined and enabled.
----------------------------------------------------------------------------------------------------------
โ Installation
- Drag ButtonEffect.ts into your project's assets directory.
- Waiting for Cocos Creator to compile automatically.
- Open the sample scene (Test Scene) to test.
----------------------------------------------------------------------------------------------------------
๐ ๏ธHow to Use?
1. Add Component
- Select a Button node
- Click Add Component
- Add ButtonEffect.ts
- Select the Effect Type you need
- Setting parameters
- Complete!
2. Inspector Settings
In the Inspector, you will see several checkboxes:
- โ Enable Click Scale
- โ Enable Long Press Scale
- โ More Settings
Simply select the effect you want.
3. Parameters
| Parameters | Description |
| Scale Amount | Scale value when clicked |
| Rotate Angle | Rotation angle |
| Duration | Animation duration |
| Sound Clip | Click sound audio |
----------------------------------------------------------------------------------------------------------
๐ Click Sound
- Support AudioSource
- Each button can be configured with its own sound effect.
- This does not affect the existing Button Click event.
----------------------------------------------------------------------------------------------------------
๐๏ธ Test Scene
This resource contains a test scenario:
- Demonstrating all button effects
- You can run it directly to see the effect.
- New users are advised to check out the Test Scene first.
----------------------------------------------------------------------------------------------------------
โ Notes
- This component is based on Cocos Creator 3.x
- Please ensure that the button node contains a Button component.
- It is recommended to use UITransform for UI nodes.
----------------------------------------------------------------------------------------------------------
โ FAQ
Q: Can multiple effects be enabled at the same time? A: Can, each effect is an independent checkbox.
Q: Will it affect the original Button click event? A: No, ButtonEffect will not override the original logic.
Q: Can it be used for commercial projects? A: Yes, commercial use is permitted.
If you have any questions, feel free to leave me a message on my Discord website!
๐ฉ Contact:
Discord: KEN LOO
(Add me as a friend to message)
----------------------------------------------------------------------------------------------------------
๐ License
- Allowed for use by individuals and commercial projects
- Resale or redistribution of the source code is not permitted.
----------------------------------------------------------------------------------------------------------
โค๏ธ Support
If you encounter any problems while using it, feel free to leave a comment below. Thank you for using Button Effect! More updates are coming soon!
| Published | 1 day ago |
| Status | In development |
| Category | Tool |
| Platforms | Windows |
| Author | KEN Master |
| Genre | Action |
| Tags | 2D, No AI |
| Content | No generative AI was used |
Purchase
In order to download this Cocos Component you must purchase it at or above the minimum price of $0.99 USD. You will get access to the following files:
Development log
- Cocos Component Button Effect V0.12 days ago

Leave a comment
Log in with itch.io to leave a comment.