设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 100|回复: 0

[转载发布] pictures plugins lots

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    8307

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    30621
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    39822

    灌水之王

    发表于 6 天前 | 显示全部楼层 |阅读模式
    Very Old plugins I paid for over a year ago!.
    They take the dust since more than a year, I would find it a shame not to share them.
    I do not use them anymore because I'm now with 100% PIXI, but for those who wish to animate the pictures of rpgmaker with commands, these plugin should delight you.
    licence M.I.T
                    PHP:       
    1. #-----------------------------------------------------------------------------
    2. # TERMS OF USE
    3. #-----------------------------------------------------------------------------
    4. # -Credits to Lecode
    5. # -Keep this header
    6. # -Free to use for commercial and non-commercial projects
    7. #-----------------------------------------------------------------------------
    复制代码


    Those plugins work with rmmv command.
    LeAnimatedPictures
    Spoiler: how use
                    PHP:       
    1. * @help
    2. *
    3. * ==========================================================================================
    4. *                  CREATE AN ANIMATED PICTURE
    5. * ------------------------------------------------------------------------------------------
    6. * Use this plugin command:
    7. * AnimatedPicture id name frames lines delay origin x y scaleX scaleY opacity blendMode
    8. *
    9. * id => The id of your picture that will be created
    10. * name => The filenam of the picture
    11. * lines => The number of line of the spritesheet
    12. * delay => The loop time rate, in millisecond ( 1000 millisecond = 1 second)
    13. * origin => 0: Upper left         1: Center
    14. * x => X coordinate
    15. * y => Y coordinate
    16. * scaleX => % of x scale ( starts at 100. Don't put "%")
    17. * scaleY => % of y scale ( starts at 100. Don't put "%")
    18. * opacity => Opacity of your picture
    19. * blendMode => 0: Normal   1: Additive     2: Multiply     3: Screen
    20. *
    21. * Example: AnimatedPicture 1 Pic 13 2 100 0 200 200 100 100 255 0
    22. *
    23. * Default picture commands like opacity change will still work. Just use the same picture ID.
    24. * The picture isn't animated yet, use the following command to starts the animation.
    25. * ==========================================================================================
    26. *                  START ANIMATION
    27. * ------------------------------------------------------------------------------------------
    28. * This command starts the animation of a picture. Use this command:
    29. * AnimatedPicture id Start mode
    30. *
    31. * id => The id of the picture you want to animate
    32. * mode => Use "cycle" or "infinite" or "back_cycle"
    33. * When using cycle, the animation if played one time and ends to
    34. * the last frame.
    35. * When using infinite, the animation will loop undefinitely.
    36. *
    37. * Example: AnimatedPicture 1 Start infinite
    38. * ==========================================================================================
    39. *                  SET ANIMATION LINE
    40. * ------------------------------------------------------------------------------------------
    41. * Use this command to change the line of picture animation:
    42. * AnimatedPicture id SetLine lineID
    43. *
    44. * id => The id of the picture you want to animate
    45. * lineID => The index of the line you want to choose. (Starts at 0)
    46. *
    47. * Example: AnimatedPicture 1 SetLine 0
    48. * ==========================================================================================
    49. *                  SET ANIMATION FRAME
    50. * ------------------------------------------------------------------------------------------
    51. * You can set a fixed frame for your picture. The animation will end and
    52. * the picture will be set at the specified frame. Use this command:
    53. *
    54. * AnimatedPicture id SetFrame frameID
    55. *
    56. * id => The id of the picture you want to animate
    57. * frameID => The index of the frame you want to choose. (Starts at 0)
    58. *
    59. * Example: AnimatedPicture 1 SetFrame 1
    60. * ==========================================================================================
    61. *                  STOP ANIMATION
    62. * ------------------------------------------------------------------------------------------
    63. * Use this command to stop the animation of a picture. The frame index will not
    64. * be reseted:
    65. *
    66. * AnimatedPicture id Stop
    67. *
    68. * id => The id of the picture you want to animate
    69. *
    70. * Example: AnimatedPicture 1 Stop
    71. *
    72. */
    73. //#=============================================================================
    复制代码


    https://www.dropbox.com/s/ascjhd1kodh61wc/LeAnimatedPictures.js?dl=0

    LeBindPixiText
    Spoiler: how use
                    PHP:       
    1. /*:
    2. * @plugindesc Bind pixi texts to pictures
    3. * @author Lecode
    4. * @version 1.0
    5. *
    6. * @help
    7. *
    8. * ==========================================================================================
    9. *                  BIND TEXT TO PICTURE
    10. * ------------------------------------------------------------------------------------------
    11. * Use this plugin command to bind a PIXI.Text object to a picture:
    12. * BindPixiText SetText pictureId text...
    13. *
    14. * Example:
    15. * BindPixiText SetText 1 Hello world !
    16. *
    17. * ==========================================================================================
    18. *                  SET TEXT POSITION
    19. * ------------------------------------------------------------------------------------------
    20. * Use this plugin command to set the text position:
    21. * BindPixiText SetPosition pictureId x y
    22. *
    23. * Example:
    24. * BindPixiText SetPosition 1 5 10
    25. *
    26. * ==========================================================================================
    27. *                  MOVE TEXT
    28. * ------------------------------------------------------------------------------------------
    29. * Use this plugin command to move the text:
    30. * BindPixiText Move pictureId x y
    31. *
    32. * Example:
    33. * BindPixiText Move 1 5 10
    34. *
    35. * ==========================================================================================
    36. *                  CHANGE STYLE
    37. * ------------------------------------------------------------------------------------------
    38. * You can set the text style using this plugin command:
    39. * BindPixiText SetStyle pictureId styleId value
    40. *
    41. * You can combine call it multiple times and combine
    42. * the effects.
    43. *
    44. * Example:
    45. * BindPixiText SetStyle 1 stroke #4a1850
    46. * BindPixiText SetStyle 1 strokeThickness 5
    47. * BindPixiText SetStyle 1 fontSize 36px
    48. * BindPixiText SetStyle 1 fontWeight bold
    49. * BindPixiText SetStyle 1 dropShadow true
    50. * BindPixiText SetStyle 1 dropShadowColor #000000
    51. * BindPixiText SetStyle 1 dropShadowAngle Math.PI/6
    52. * BindPixiText SetStyle 1 dropShadowDistance 6
    53. *
    54. * Or you can set multiple style at the same time using
    55. * this script call:
    56. **** var style = {
    57. ****   fontFamily : 'Arial',
    58. ****   fontSize : '36px',
    59. ****   fontStyle : 'italic',
    60. ****   fontWeight : 'bold',
    61. ****   fill : '#F7EDCA',
    62. ****   stroke : '#4a1850',
    63. ****   strokeThickness : 5,
    64. ****   dropShadow : true,
    65. ****   dropShadowColor : '#000000',
    66. ****   dropShadowAngle : Math.PI / 6,
    67. ****   dropShadowDistance : 6,
    68. ****   wordWrap : true,
    69. ****   wordWrapWidth : 440
    70. **** };
    71. **** pictureObj.setPixiTextStyle(style)
    72. *
    73. * Here is the list of possible styles, with default values:
    74. * {
    75.         align: 'right',
    76.         breakWords: false,
    77.         dropShadow: false,
    78.         dropShadowAngle: Math.PI / 6,
    79.         dropShadowBlur: 0,
    80.         dropShadowColor: '#000000',
    81.         dropShadowDistance: 5,
    82.         fill: 'black',
    83.         fillGradientType: TEXT_GRADIENT.LINEAR_VERTICAL,
    84.         fontFamily: 'Arial',
    85.         fontSize: 26,
    86.         fontStyle: 'normal',
    87.         fontVariant: 'normal',
    88.         fontWeight: 'normal',
    89.         letterSpacing: 0,
    90.         lineHeight: 0,
    91.         lineJoin: 'miter',
    92.         miterLimit: 10,
    93.         padding: 0,
    94.         stroke: 'black',
    95.         strokeThickness: 0,
    96.         textBaseline: 'alphabetic',
    97.         wordWrap: false,
    98.         wordWrapWidth: 100,
    99.     }
    100. * ==========================================================================================
    101. *                  GETTING THE PIXI.TEXT OBJECTS
    102. * ------------------------------------------------------------------------------------------
    103. * For advanced use, use this script call to get the pixi.text objects.
    104. * You'll then be able to modify them as you wish
    105. **** var textContainer = $gameScreen.getPixiTextObjects(pictureId)
    106. **** var texts = textContainer.children;
    107. **** texts[0].anchor.set(0,1)
    108. *
    109. * probleme ex: pour update
    110. * textContainer = $gameScreen.getPixiTextObjects(67)
    111.     texts = textContainer.children;
    112.     texts[0]._text = '51515'
    113. * ==========================================================================================
    114. *                  REMOVE TEXT
    115. * ------------------------------------------------------------------------------------------
    116. * Use this plugin command:
    117. * BindPixiText Remove 1
    118. */
    119. //#=============================================================================
    复制代码

    https://www.dropbox.com/s/zoad5tgn4yhwx43/LeBindPixiText.js?dl=0

    LePictureTriggers
    Spoiler: how use
                    PHP:       
    1. /*:
    2. * @plugindesc Picture Triggers
    3. * @author Lecode
    4. * @version 1.0
    5. *
    6. * @help
    7. *
    8. * ==========================================================================================
    9. *                  SET A TRIGGER
    10. * ------------------------------------------------------------------------------------------
    11. * Use this script:
    12. * $gameScreen.setPictureTrigger(pictureId, trigger, function);
    13. * Where trigger is:
    14. *      "Left Click"
    15. *      "Right Click"
    16. *      "Long Click"
    17. *      "Mouse Over"
    18. *      "Mouse Out"
    19. *
    20. * Example:
    21. * $gameScreen.setPictureTrigger(1, "Left Click", function(pictureId){
    22. *      console.log("Left click on picture ID ", pictureId);
    23. * });
    24. */
    25. //#=============================================================================
    复制代码

    https://www.dropbox.com/s/6gxt4wydo0s0bv5/LePictureTriggers.js?dl=0

    Enjoy
    don't ask me help , and read instruction and example
    respect TERMS OF USE
    Thank



    本贴来自国际rpgmaker官方论坛作者:Jonforum处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/pictures-plugins-lots.93402/
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-1 20:50 , Processed in 0.135905 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表