πŸ–₯️
Fullscreen
  • πŸ‘‹Welcome
  • πŸ—ΊοΈRoadmap
  • πŸ”ŒGame Creator 2 Assets
    • ✏️Editor Pro
      • βš™οΈSetup Guide
      • πŸ“„Getting started
      • βœ…Supported Assets and Types
      • ⁉️Troubleshooting
      • πŸ“–Releases
    • πŸ“¬Mailbox
      • βš™οΈSetup Guide
      • πŸ’‘Guides and Demo Scene
        • 🏠Demo Scene
        • πŸ”§Set up your scene
        • πŸ’»UI Examples
        • πŸ“¨Sending Letters
        • πŸ“©Running Instructions On Open Letter
        • πŸ“…Time & Date
        • πŸ—‘οΈDelete vs. Hide Letters
        • 🎨Letter Themes
        • πŸŽ’Include Items in Letters
        • πŸ“–Using Global Dynamic Values
      • ⚑Triggers
        • On Letter Received
        • On Letter Deleted
        • On Letter Hidden
        • On Letter Opened
      • πŸ“˜Instructions
        • Send Letters to Mailbox
        • Send Letter to Mailbox
        • Send Random Letter to Mailbox
        • Set Letter
        • Mark Letter as Read
        • Mark Letter as Hidden
        • Delete Letter
        • Clear Mailbox
        • Claim Item in Letter
      • βœ…Conditions
        • Check for Random Letters in Mailbox
        • Check for Unclaimed Items in Letter
        • Check for Unclaimed Items in Mailbox
        • Check for Unread letter in Mailbox
        • Is Equal to Letter
        • Does Letter Contain Items
        • Is Item Claimed in Letter
        • Is Letter Read
        • Has Received Letter
      • πŸ“œProperties
        • Get
      • πŸ“–Releases
    • πŸ’ΎNanoSave
      • βš™οΈSetup Guide
      • πŸ’½Configuration
      • βš–οΈComparison
      • πŸ’»UI Example
      • ⚑Triggers
        • On Corrupted Save Detected
      • πŸ“˜Instructions
        • Refresh Save Slots UI
      • πŸ“œProperties
        • Get
      • πŸ“–Releases
    • β˜€οΈCOZY Stylized Weather Integration
      • βš™οΈSetup Guide
      • πŸ’‘Guides and Demo Scene
        • 🏠Demo Scene
        • πŸŒ₯️Weather
        • 🌑️Temperature
        • πŸ•’Time and Date
        • πŸ’ΎSaving
        • βš™οΈSettings
      • ⚑Triggers
        • On Time
        • On Day and Time
        • On Year, Day, and Time
        • On Time Interval
        • On Any Weather
        • On Specific Weather
        • On Temperature
      • πŸ“˜Instructions
        • Set Weather
        • Set Ambience
        • Set Atmosphere
        • Set Climate Profile
        • Set Climate Control Method
        • Set Fog
        • Set Clouds
        • Set Skydome
        • Set Weather Selection
        • Set Time Curve
        • Transition Time
        • Wait COZY Time
      • βœ…Conditions
        • Compare Temperature
        • Is Weather
      • πŸ“œProperties
        • Set
        • Get
      • ⁉️Troubleshooting
      • πŸ“–Releases
    • πŸŽ’Ultimate Inventory Template (WIP)
Powered by GitBook
On this page
  • Run instructions On Time
  • Display time in UI
  • Display date in UI
  • Setting the time or date
  • Transition time
  1. Game Creator 2 Assets
  2. COZY Stylized Weather Integration
  3. Guides and Demo Scene

Time and Date

PreviousTemperatureNextSaving

Last updated 3 months ago

Run instructions On Time

These triggers is event-based and carefully crafted for optimal performance, making it more efficient and better for performance compared to frequent checks every frame.

Changing the 'Use Daily Cycle', 'Use Yearly Cycle,' or 'Keep Checking In Past' settings is not recommended unless you intend to manually reset the time to a previous value (e.g., going back in time to a specific date or event).

Display time in UI

Display date in UI

Setting the time or date

Setting the time or date directly bypasses any event-based triggers that would normally be fired between the current time and the time being set.

Transition time

If the Time Curve isn't already set to Linear, it's recommended to switch it to Linear before the transition to make it smoother.

This can be done using the instruction.

πŸ”Œ
β˜€οΈ
πŸ’‘
πŸ•’
Set Time Curve
Using the Set Number Instruction. In this case, the time will instantly be set to 13:00 (1 PM). Remember to use only the range 0–23 for hours and 0–59 for minutes. This logic can also be applied to setting the day or year.
Using the 'Transition Time' Instruction. In this case, the time will transition to 13:00 (1 PM) over 5 seconds. Remember to use only the range 0–23 for hours and 0–59 for minutes.
Using '', '' and '' triggers to trigger based on your specific needs. Using Daily Cycle, or Yearly Cycle means that the trigger will go into 'hibernation' and not do any more checks before a new day or a new year has happened. The trigger 'On Year, Day and Time' will completely stop checking unless the Keep Checking In Past is enabled.
Using the 'Set Text' Instruction on an '' Trigger. Make sure Trigger On Start is enabled so it initialize the UI on start.
Using the 'Join Text' Instruction on an '' Trigger. Make sure Trigger On Start is enabled so it initialize the UI on start.
On Time
On Day and Time
On Year, Day, and Time
On Time Interval
On Time Interval