小海盗 发表于 2025-3-27 16:36:59

InGame Date and Time 适配UE5.0日历/时间系统




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.


游戏内日期和时间是一个插件,可用于在您的游戏世界中使用日历/时间系统。您可以使用标准日历,也可以使用自定义命名的时间段定义自己的日历。例如,在太空游戏中,您可以创建自己的银河日历。

该系统适用于任何具有持久世界的游戏类型。它也是驱动图形时间系统或其他时间相关效果(如动态天气或季节性外观变化)的理想方式。

- 使用内置标准(公历)日历或自定义日历。
- 使用简写文本输入指定时间/持续时间。
- 增加/减去时间和持续时间值。
- 不再以实时秒为单位安排游戏事件 - 完全在您的游戏世界时间系统中工作。
- 创建蓝图计时器,并可选择附加要传递给计时器事件处理程序的任何数据。
- 灵活的格式选项使创建时间和日期 UMG 小部件变得非常容易。
- 包括公历的精确太阳位置计算,考虑经纬度,随时可插入图形时间系统。
- 游戏内时钟尊重游戏暂停/时间膨胀,但也可以单独暂停或修改。
- 轻松保存和加载时钟状态作为保存游戏对象的一部分。
- 动态调整时钟速度或模拟游戏世界时间流逝的选项,以反映自上次保存游戏以来的实时时间。
- 网络就绪 - 时钟在服务器上运行,客户端滴答声平滑。


页: [1]
查看完整版本: InGame Date and Time 适配UE5.0日历/时间系统