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

[转载发布] No More Flash Disaster

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

    连续签到: 2 天

    [LV.7]常住居民III

    9071

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 2026-8-1 20:02:10 | 显示全部楼层 |阅读模式
    No More Flash Disaster v1.0
    By FeelZoR

    Free for Commercial & Non-Commercial Projects
    No Credits required, but highly appreciated!

    You can find a more in-depth version of the TOS here.

    Introduction & Feature

    Have you ever tried to put many damaging tiles to... for example... make a poisonous swamp?
    Then you must've realized how painful it is for the eyes... DAMN, it's epileptic as f***!

    NMFD is here to avoid that disaster. No more eyes destroyed by... a red violent flash. It delays the flashes so you can put a full poisonous swamp without any sacrifice. You just have to plug it and play!

    The default delay is set to one second, but you can change it at line 37.

    How to Use
    Just Copy it & Paste it in the script section of RPG Maker VX Ace!

    Code
    Spoiler                Code:       
    1. if true # Change "true" to "false" if you want to disable it
    2. ################################################################################
    3. #                           No More Flash Disaster                             #
    4. #                                By Feelzor                                    #
    5. #                                                                              #
    6. # • DO NOT REMOVE OR ALTER THIS HEADER.                                        #
    7. #                                                                              #
    8. # ---------------------------------------------------------------------------- #
    9. #                                                                              #
    10. # • What this script does:                                                     #
    11. #                                                                              #
    12. # When you put a lot of damaging tiles on the ground, you can have a lot of    #
    13. # flash effects, making your game epileptic and not enjoyable at all.          #
    14. # This script is here to delay the next red flash when you walk on these       #
    15. # tiles. By default, it's at maximum 1 flash per second.                       #
    16. #                                                                              #
    17. # If the delay you put in the settings is too long, I cannot guarantee it      #
    18. # won't interfer with the poison flash delay.                                  #
    19. #                                                                              #
    20. # ---------------------------------------------------------------------------- #
    21. #                                                                              #
    22. # • Just plug and play!                                                        #
    23. # No configuration needed but you can modify the FLASH_TIME to change how the  #
    24. # script works.                                                                #
    25. #                                                                              #
    26. # ---------------------------------------------------------------------------- #
    27. #                                                                              #
    28. # • Free to use in any project: Commercial or Non-Commercial.                  #
    29. # • Credits not required but appreciated!                                      #
    30. #                                                                              #
    31. # If you wish to credit, just write "No More Flash Disaster by Feelzor"        #
    32. # somewhere.                                                                   #
    33. #                                                                              #
    34. ################################################################################
    35.   module NoMoreFlashDisaster
    36.     FLASH_TIME = 1.0 # Time necessary between two flashes (in seconds)
    37.   end
    38.   class Game_Screen
    39.     #--------------------------------------------------------------------------
    40.     # • Start Flash (for Poison/Damage Floor)
    41.     #--------------------------------------------------------------------------
    42.     def start_flash_for_damage
    43.       @flash_time ||= NoMoreFlashDisaster::FLASH_TIME
    44.       @last_time ||= Time.now - @flash_time
    45.    
    46.       if Time.now - @last_time >= @flash_time
    47.         @last_time = Time.now
    48.         start_flash(Color.new(255,0,0,128), 8)
    49.       end
    50.     end
    51.   end
    52. end
    复制代码






    Credits and Thanks

    • FeelZoR for making it (it's me!)
    • HyddenTroll for asking me to make this for his project.
    • Degica for organizing the IGMC, which made me discover RMVXA
    Author's note
    I hope that this time, this isn't a functionality already made in RMVXA :')


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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-18 08:57 , Processed in 0.135959 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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