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

[转载发布] Epoch (UNIX) in-game time system

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

    连续签到: 2 天

    [LV.7]常住居民III

    8281

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 6 天前 | 显示全部楼层 |阅读模式
    Siv_Time_Core (v1.0.0)
    Sivli Embir


    Description
    Tracks game frames like Seconds in a Epoch (UNIX) time format. This gives you very flexible in-game time tracking, usually when the player is running around on the map. This plugin is more a utility plugin then an all in one solution like MOG_TimeSystem has.

    Features
    - Stores total frame count in specified variable
    - Lets you specify when to track the time (frames). By default it tracks the Map Scene but its very customizable if you are willing to do some console debugging to narrow things down.


    How to Use
    By default you can just drop it in. That said you will need to do some math to convert the frames to the time format you want. There is a ton of documentation in the plugin that will get you started.

    Links
    I will be putting all my code here.
    The raw for this version can be found [url=https://raw.githubusercontent.com/Sivli-Embir/rpg_maker_plugins/5ced07f86c63f8c0bdc2702fdbf711587c133df9/Siv_Time_Core.jshttps://github.com/Sivli-Embir/rpg_maker_plugins/blob/ccc5cc1253500099f5653351c9d7e908a501037c/Siv_Time_Core.js]here[/url]
    If you find bugs or have improvements please consider adding them in Github's issues as I am much more likely to respond there.
    It is MIT Licensed, so use where ever for what ever.

    TODOs
    I will likely make a follow up UI plugin. When I do I will also likely add some math utilities to this plugin but I will be trying to leave this core as flexible as possible.


    Ok now that the formality is done, hi all! This is actually my first plugin for PRG maker. I normally do web app stuff so let me know if messed up some formatting or what not. I am also not sure how much attention this thing will get but if you have questions I will try to respond here. Again please post issues in the github repository, it makes finding and keeping track of issues a lot easer, thanks!

    mlogan said:
                            Can you just please add some terms of use in your post? Thanks.               
    Click to expand...

    Its licensed under MIT. So its free to use for anything. It can be copied and reposted by someone else and other people can try to sell it if they wish. The only restriction is it has to keep the MIT license, which has my name attached, but that does not effect larger projects such as the the users game. Also there is no warranty and use at your own discretion (but that is implied) The full details can be read here: https://github.com/Sivli-Embir/rpg_maker_plugins/blob/master/LICENSE


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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-1 19:47 , Processed in 0.109804 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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