Skip to content

ynot01/ntp-godot-go

Repository files navigation

Build & Test Release

NTP in Godot

A small GDExtension (4.3+) for interfacing with NTP servers

Installation

  1. Download latest release
  2. Extract the addons folder to your Godot project's root folder
Support AMD64 ARM64 x86 (32-bit)
Windows
Linux
MacOS

Usage

NTP.now() will return the current UTC time in milliseconds as reported by the NTP server

Building

Run ./Build.ps1 or ./Build.sh

Dependencies will be downloaded automatically

Copy the resultant ./addons/ folder to your Godot project

Testing

Install gd via go install graphics.gd/cmd/gd@master

Run gd build then gd test

The project in ./graphics/ will be used to test the extension

Technologies