+5 votes

Is there any calendar class or feature in godot that allows me to list the months and days we have, also taking in account for each year; so that it is not always 31 days in a month, or 30, and so on.

I have no idea how to do that myself, as the days and months, why the days per month each year changes is practically arbitrary to me.

If there is no such feature; I hope to see it implemented in the future. Better yet, I would love to see a node button that can display a calendar like this;

Until then I am looking for a way to manually create a calendar class that can list up each 12 months and each day each month (which changes year to year).

in Engine by (486 points)
edited by

1 Answer

0 votes

you could create a plugin for this:

http://docs.godotengine.org/en/latest/tutorials/making_plugins.html#a-custom-node

It should be not very difficult

-j

by (1,466 points)

As a side note, such a calendar could be based on a general purpose Date object. There is no such thing in Godot yet :/

I am already working on a plugin for a custom node; however I would like to see this officially implemented :)

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.