Ingame Date & Time is a plugin to enable working with a calendar/time system within your game world. You can use the standard calendar, or define your own calendar with custom named periods. For example, in a space game, you could create your own galactic calendar.
The system is suitable for any type of game with a persistent world. It's also ideal as a way of driving graphical time-of-day systems, or other time dependent effects such as dynamic weather or seasonal appearance changes.
- Use built-in standard (Gregorian) calendar, or custom defined calendar.
- Specify times/durations using shorthand text input.
- Add/subtract time and duration values.
- No more scheduling of game events in terms of realtime seconds - work entirely within your game world time system.
- Create blueprint timers, and optionally attach any data to be passed to timer event handler.
- Flexible formatting options makes creating time and date UMG widgets very easy.
- Precise sun position calculation included for Gregorian calendar, taking into account latitude and longitude, ready to plug into a graphical time-of-day system.
- In-game clock respects game pause/time dilation, but can also be paused or modified independently.
- Easily save and load clock state as part of a save game object.
- Options for dynamically adjusting clock speed, or simulating passage of game-world time to reflect realtime passed since game was last saved.
- Network ready - clock runs on server with smoothed client-side ticking.
技术细节
Network replicated: Yes
Modules:
• IngameDateTime (Runtime)
• IngameDateTimeEditor (Editor)
Intended platforms: Windows, Android
Platforms tested: Windows, Android
游戏日期与时间是一个插件,可在游戏世界中使用日历/时间系统。您可以使用标准日历,也可以使用自定义命名的时段来定义自己的日历。例如,在太空游戏中,您可以创建自己的银河日历。
该系统适用于任何类型的持久世界游戏。它也是驱动图形化时间系统或其他时间相关效果(如动态天气或季节性外观变化)的理想方式。
- 使用内置标准(公历)日历或自定义日历。
- 使用速记文本输入法指定时间/持续时间。
- 添加/减去时间和持续时间值。
- 不再以实时秒数来安排游戏事件--完全在你的游戏世界时间系统内工作。
- 创建蓝图计时器,并可选择将任何数据附加到计时器事件处理程序。
- 灵活的格式选项让创建时间和日期 UMG 小工具变得非常简单。
- 包含精确的太阳位置计算,适用于公历,同时考虑到纬度和经度,可随时插入图形化的授时系统。
- 游戏内时钟尊重游戏暂停/时间扩张,但也可独立暂停或修改。
- 作为保存游戏对象的一部分,可轻松保存和加载时钟状态。
- 可选择动态调整时钟速度,或模拟游戏世界时间的流逝,以反映上次保存游戏后的实时时间。
- 网络就绪--时钟在服务器上运行,客户端滴答声平滑。
技术细节
网络复制: 是
模块
- IngameDateTime (Runtime)
- IngameDateTimeEditor (编辑器)
目标平台: Windows、Android Windows, Android
已测试平台:Windows、Android 视窗、安卓
|