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.js
https://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/