Edit of asset "World Clock plugin " Accepted
| Old/Current | New/Edit | |
|---|---|---|
| Title | World Clock plugin | |
| Description |
A world clock system for the Godot game engine which manages in game time Please do let me know if you have any feedback, issues or questions about this plugin You can find project on GitHub at https://github.com/Tom-dev-12/godot_world_clock_plugin Made in Godot 4.7.1 set up: -Install plugin from the godot asset libary via this link https://godotengine.org/asset-library/asset/5566 or in the asset store in the godot game engine -Once installed got to project -> project settings -> plugins -Then find Wolrd Clock Manager and enable it Once installed: -add the World Clock node into the scene -adjust the time settings as you wish -run the scene and then use the plugins signals and properties to intergrate into your game Here is some example code of a very basic setup of what the plugin offers: extends Node @onready var clock = $WorldClock func _ready() -> void: clock.hour_changed.connect(_on_hour_changed) clock.day_changed.connect(_on_day_changed) clock.season_changed.connect(_on_season_changed) print("Clock test started") func _on_hour_changed(hour: int) -> void: print("Hour changed: ", hour) func _on_day_changed(day: int) -> void: print("Day changed: ", clock.days.keys()[day]) func _on_season_changed(season: int) -> void: print("Season changed: ", clock.seasons.keys()[season]) This plugin is currently in early development and has more features and improvements planned And feel welcome to contribute to this plugin |
A world clock system for the Godot game engine which manages in game time Please do let me know if you have any feedback, issues or questions about this plugin You can find project on GitHub at https://github.com/Tom-dev-12/godot_world_clock_plugin Made in Godot 4.7.1 it is reccomended that you download this tool from the godot asset libary set up: -Install plugin from the godot asset libary via this link https://godotengine.org/asset-library/asset/5566 or in the asset store in the godot game engine -Once installed got to project -> project settings -> plugins -Then find Wolrd Clock Manager and enable it Once installed: -add the World Clock node into the scene -adjust the time settings as you wish -run the scene and then use the plugins signals and properties to intergrate into your game Here is some example code of a very basic setup of what the plugin offers: extends Node @onready var clock = $WorldClock func _ready() -> void: clock.hour_changed.connect(_on_hour_changed) clock.day_changed.connect(_on_day_changed) clock.season_changed.connect(_on_season_changed) print("Clock test started") func _on_hour_changed(hour: int) -> void: print("Hour changed: ", hour) func _on_day_changed(day: int) -> void: print("Day changed: ", clock.days.keys()[day]) func _on_season_changed(season: int) -> void: print("Season changed: ", clock.seasons.keys()[season]) This plugin is currently in early development and has more features and improvements planned And feel welcome to contribute to this plugin |
| Category | Tools | |
| License | MIT | |
| Repository Provider | GitHub | |
| Repository Url | https://github.com/Tom-dev-12/godot_world_clock_plugin | |
| Issues Url | https://github.com/Tom-dev-12/godot_world_clock_plugin/issues | |
| Godot version | Godot 4.7 | |
| Version String | 1.0 | |
| Download Commit | 05cccc66af5f5c54673137877012a84b9988aabc | |
| Download Url (Computed) | https://github.com/Tom-dev-12/godot_world_clock_plugin/archive/05cccc66af5f5c54673137877012a84b9988aabc.zip | |
| Icon Url |
https://raw.githubusercontent.com/Tom-dev-12/godot_world_clock_plugin/main/addons/world_clock/icon/world_clock_icon.png
|
|