Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Graphite

An asset by theecgaming
The page banner background of a mountain and forest
Graphite hero image

Quick Information

0 ratings
Graphite icon image
theecgaming
Graphite

A simple GDScript plugin for DateTime. Inspired by Carbon, built for Godot.Currently a work-in-progress, but is nearly finished.Allows you to chain methods! Is fast (thanks to it only using a single object), and is efficient. You also don't have to call new() for it.Example:# Would add 5 seconds, set it to the 3rd day of the month, and return a cookie datetime string!Graphite.now().addSeconds(5)->setUnit("day", 3)->toCookieString()With Graphite, I'm hoping to ready at least 80% full parity with Carbon. As I'm normally a PHP developer, having something like this in Godot makes my life 1000x easier.

Supported Engine Version
4.1
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
5 days ago
Git URL
Issue URL

A simple GDScript plugin for DateTime. Inspired by Carbon, built for Godot.

Currently a work-in-progress, but is nearly finished.

Allows you to chain methods! Is fast (thanks to it only using a single object), and is efficient. You also don't have to call new() for it.

Example:

# Would add 5 seconds, set it to the 3rd day of the month, and return a cookie datetime string!
Graphite.now().addSeconds(5)->setUnit("day", 3)->toCookieString()

With Graphite, I'm hoping to ready at least 80% full parity with Carbon. As I'm normally a PHP developer, having something like this in Godot makes my life 1000x easier.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Graphite icon image
theecgaming
Graphite

A simple GDScript plugin for DateTime. Inspired by Carbon, built for Godot.Currently a work-in-progress, but is nearly finished.Allows you to chain methods! Is fast (thanks to it only using a single object), and is efficient. You also don't have to call new() for it.Example:# Would add 5 seconds, set it to the 3rd day of the month, and return a cookie datetime string!Graphite.now().addSeconds(5)->setUnit("day", 3)->toCookieString()With Graphite, I'm hoping to ready at least 80% full parity with Carbon. As I'm normally a PHP developer, having something like this in Godot makes my life 1000x easier.

Supported Engine Version
4.1
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
5 days ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers