Re-add project files with LICENSE/Readme

This commit is contained in:
David Allen 2022-07-16 09:01:36 -05:00
commit cfc6b7d1b2
85 changed files with 1446 additions and 0 deletions

32
README.md Normal file
View file

@ -0,0 +1,32 @@
# Godot Calendar
A simple calendar with VERY basic functionality to select day, month, and year.
![screenshot](assets/screenshots/ss1.png)
## How to Use
Simply clone the repository and add the scene to your project. The calendar only has a single signal that returns the date (day, month, and year) as a dictionary.
```gdscript
onready var calendar = $Calendar
func _ready():
calendar.connect("date_selected", self, "print_date")
func print_date(date):
print("date selected: ", date)
print("weekday: ", calendar.get_weekday(date))
```
## TODO
- [ ] Better define popup/hide behavior.
- [ ] Add dates for before and after current month.
- [ ] Add method to get daylight savings for selected date.
- [ ] Make more customizable??