Hi! I have made a simple Confetti Effect script (first script, with the help of ChatGPT

) and after some struggling it works. I would like to share it with you. Maybe it can help someone...
Usage:
To activate script you use SCRIPT command on an event and paste this code:
SceneManager._scene.startConfettiEffect();
If you call the event multiple times... more confetti. Pretty simple.
The effect is auto-disables when you leave the map
You need to have images for the confetti on your /img/pictures/ folder. Their name should be confetti.png, confetti2.png, and confetti3.png. You can change this or add more images or whatever editing this line of the script:
var confettiImages = ['confetti', 'confetti2', 'confetti3'];
I used these three images, you can use them, or edit them or whatever you want. Same with the code. Use it, edit it, improve it, I dont really care.
Greetings, friends!
本贴来自国际rpgmaker官方论坛作者:EdenM处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/simple-confetti-plugin.160525/