じ☆ve冰风 发表于 2026-7-28 14:56:23

Quasi Simple Shadows

Quasi Simple Shadows Version - 1.00


        by Quasi




About
This plugin adds a simple shadow casting feature to character sprites. I consider this plugin simple because it is not dynamic, advanced and is not a real shadow casting. Though I do plan on creating a real shadow casting once MV can use pixi v3+. By real shadow casting I mean something like Twitter Video


        Links


Github - Download


        Setting up a “shadow casting” source



        To set up a shadow source, you will add a note in the event with in one of the following formats:


<shadowSource>


or


<shadowSource:RADIUS,FLICKERSTR,FLICKERDELAY>


        RADIUS: Set to the radius of the source, in pixels.FLOCKERSTR: How strong the flicker should be.FLICKERDELAY: A value for a random wait between flickers.If you use the first one, it will use the default Radius set in the plugin parameters and it will have no flicker.


        Adding / Removing a “shadow casting” source



        To Add a “shadow casting” use the following plugin command:


quasi addShadowSource CHARAID SHADOWRADIUS FLICKERSTR FLICKERDELAY


        CHARAID: Set to the Event ID or 0 for the playerSHADOWRADIUS: Set to the radius of the shadow source in pixels. If let empty it will use the plugins parameters default value.FLICKERSTR: Set to the flicker strength of the shadow. If let empty there will be no flicker.FLICKERDELAY: Set to the flicker delay of the shadow. If let empty it will have a delay of 1


        To Remove a “shadow casting” use the following plugin command:


quasi removeShadowSource CHARAID SHADOWRADIUS


        CHARAID: Set to the Event ID or 0 for the playerSHADOWRADIUS: Set to the radius of the shadow source in pixels. If let empty it will use the plugins parameters default value


        Adding / Removing a shadow from a character



        To hide an Events shadow by default add the following note inside the event:


<noShadow>




        To Hide a characters shadow use the following plugin command:


quasi hideShadow CHARAID


        CHARAID: Set to the Event ID or 0 for the player


        To Show a characters shadow use the following plugin command:


quasi showShadow CHARAID


        CHARAID: Set to the Event ID or 0 for the player


        Other


        Again this is just a really simple shadow addon, nothing dynamic.


本贴来自国际rpgmaker官方论坛作者:Quxios处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/quasi-simple-shadows.58685/
页: [1]
查看完整版本: Quasi Simple Shadows