A downloadable plugin

This plugin updates the specified game variables in real-time with the current system time and date. Additionally, a HUD can be displayed on the map to show the current time, date, and day name. The HUD format, rows, position, and offsets are fully customizable.

It can be used to add events to your game that are linked to the time of the real world. This can be anything from simple christmas events  to making a game like Animal Crossing.

How to Use

Plugin Parameter

General

In this section, you can edit the variables that are used to store the current date and time information.

HUD

In this section, you can change the appearance of the HUD.

  1. HUD Format: Changes what is displayed in the HUD
  2. HUD Position: Changes the position of the HUD
  3. HUD Offset X: The HUD x offset from the window border
  4. HUD Offset Y: The HUD y offset from the window border
  5. HUD Opacity: Changes the opacity of the HUD. 0 is transparent, 255 is full opacity. 

Vocabulary

In this section you can change the name of the months and days that are displayed.

Customize the HUD format

The HUD format specifies both what is displayed in the HUD and how many
rows the HUD should have.
You can add a new entry in the “HUD format” parameter for each new row.

Example 1


would create a HUD that looks like this

Example 2


would create a HUD that looks like this

Available shortcodes

  • {time}: Shows the time in the format hour:minutes:seconds
  • {date}: Shows the date in the format day full month, year
  • {dayName}: name of the day
  • {monthName}: name of the month
  • {day}: day as a number
  • {month}: month as a number
  • {year}: current year
  • {hour}: current hour
  • {seconds}: current seconds
  • {minutes}: current minutes

Plugin Commands

Toggle HUD display

Use this one to either show or hide the HUD.

Time format

Change the format to 12h or 24h. Please be aware that this will also change the option in the options menu.

Terms of Use

  1. These plugins may be used in free or commercial games.
  2.  "exotickiui" or "Kiui" must be given credit in your games.
  3. You are allowed to edit the code.
  4. Do NOT change the filename, parameters, and information of the plugin.
  5. You are NOT allowed to redistribute these Plugins.

Version History

1.1

  • Added an option for 12h format.

1.0

  • Release

Download

Download
Real_World_Time.js 16 kB

Comments

Log in with itch.io to leave a comment.

Vielen Dank fürs zur kostenlos zur Verfügung stellen! Das wird ausprobiert!