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

[转载发布] Customizable Clock and Time (Day/Night cycle)

[复制链接]
累计送礼:
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-2 14:23:30 | 显示全部楼层 |阅读模式
    Night/Day System - VX Ace Clock - v. 1.0.5
    by Heirukichi​


    Description
    This script adds a Day/Night cycle and in-game time to your VX Ace game. In addition to that it adds a customizable "clock" to your game. The so called clock is no real clock, it is more like an image used to display night and day cycle so it does not work as a clock but has a cycle of 24 hours instead. You can decide if your Night/Day cycle has an effect on your game screen. If that is your case your screen tone will automatically change whenever your day phase changes (dawn, day, dusk, night).

    Features

    • In-game time.
    • Tone change according to phases of the day.
    • Customizable "clock".
    • New $game_clock variable with various methods.
    • Default script configuration for easy plug and play.
    • Highly customizable.
    • A lot of freedom.

    Screenshots
    Spoiler






    Terms of Use
    This script is under the GNU General Public License v3.0. This means that:

    • You are free to use this script in both commercial and non-commercial games as long as you give proper credits to me (Heirukichi) and provide a link to this page;
    • You are free to modify this script as long as you do not pretend you wrote this and you distribute it under the same license as the original.
    You can review the full license here: https://www.gnu.org/licenses/gpl-3.0.html

    In addition I’d like to keep track of games where my scripts are used so, even if this is not mandatory, I’d like you to inform me and send me a link when a game including my script is published. As I said this is not mandatory but it really helps me and it is much appreciated.

    - - - - - - - - - - - - -


    IMPORTANT NOTICE:
    If you want to post this script somewhere else please provide a link to my website instead.

    - - - - - - - - - - - - -


    All the images included in the demo project are licensed under the CC 4.0 BY-SA. This means that:

    • you are free to use them in both commercial and non commercial games as long as proper credit is given to me (Heirukichi);
    • You are free to modify them as long as you do not pretend you created the original one and you distribute the modified copy under the same license as the original.
    You can review the full license here: https://creativecommons.org/licenses/by-sa/4.0/


    Instructions
    To install the script copy/paste it below Materials. If any of the scripts you are using overwrites any of the aliased methods be sure to place this script below it. By default your Clock folder path is Graphics/Clock so be sure to have something there or to change the default path in the script configuration module to be your clock path.

    Detailed instructions can be found inside the script. Be sure to follow them if you want to use this script at its full potential.

    Difficulty: Easy/Medium. Using this script is easy if you stick with the basics. Since this script gives you a lot of freedom you can use it to achieve more complex things. If you want to do that the difficulty increases.

    Script Link
    A download link to this script can be found here.

    Demo
    To give you a better understanding of how the script works I created a little demo. The demo uses a debug flag to speed up time so that you can see how time progresses fast enough to not be bored of it.

    I created two different versions of the demo: one using the default RPG Maker VX Ace packing (the bluecube.exe), another using a 7zip archive. This is because sometimes the bluecube.exe creates troubles so if that is your case feel free to download the 7zip version and use it.

    NOTE: both downloads contain the same demo. If one of them works for you do not download the other one.

    WARNING: The demo serves the sole purpose of showing how the script works in a project and where to place the clock images. This is not being updated and it still uses an old version of the script. To use the current version of the script, please download it from the link above.

    Credits

    Credits for the demo go to:

    • Enterbrain Inc. (Engine, RTP)
    • Heirukichi (this script, clock images)

    Author notes

    If you find a bug feel free to report it and I'll try to fix it as soon as possible.  In addition if there is any kind-hearted guy who think my default clock image is too ugly and wants to create a new one feel free to do it. I am not that much of a pixel artist.


    Update Log

    06-26-2019 Version 1.0.5
    - Terms of Use have been updated and the software is now distributed under the GNU General Public License v3.0. This does not change what you can do with this script, it only changes how you should credit me. A link to this page has to be included when you credit me for this script. Everything else remains unchanged (you can still use this script for free, you can still use it for commercial purposes and you can still modify it, as long as you do not pretend you wrote the whole script).

    05-02-2019 Version 1.0.4
    - $game_clock.set_time now has an internal check to convert numbers into the 0-47 range. It is now possible to add extra phases to the current time using set_time, without having to worry about the new value being less than 47.
    - Fixed a but that prevented the screen tint from being updated after setting a new time.

    04-27-2019 Version 1.0.3
    - Fixed a bug that caused screen tint to be applied regardless of TINT_ON_CHANGES value.

    03-13-2019 Version 1.0.2
    - It is now possible to prevent your clock from updating when $game_player is not moving.

    02-04-2019 Version 1.0.1
    - Modified instructions. The correct usage of the DEBUG module is now correctly explained in the instructions. Few typos in instructions have been corrected.


    本贴来自国际rpgmaker官方论坛作者:Heirukichi处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/customizable-clock-and-time-day-night-cycle.97562/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-17 10:25 , Processed in 0.139833 second(s), 55 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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