summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@valuemotive.com>2020-07-30 11:31:31 +0300
committerJan Tuomi <jan.tuomi@valuemotive.com>2020-07-30 11:31:31 +0300
commitfcfc2f9df77c4e7d10eea6a9dee10f0d13288f9c (patch)
tree3da46647ab66e0d4ca48a1707635bcc083e01071 /scripts
parent65defb418a621a0f5e4205afceb7c1904969dde1 (diff)
Add shadows to characters
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Shadow.gd21
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/Shadow.gd b/scripts/Shadow.gd
new file mode 100644
index 0000000..4ec8e7e
--- /dev/null
+++ b/scripts/Shadow.gd
@@ -0,0 +1,21 @@
+extends Node2D
+
+export (float) var radius = 5
+export (Color) var color = Color.gray
+
+# Declare member variables here. Examples:
+# var a = 2
+# var b = "text"
+
+
+# Called when the node enters the scene tree for the first time.
+func _ready():
+ pass # Replace with function body.
+
+
+# Called every frame. 'delta' is the elapsed time since the previous frame.
+#func _process(delta):
+# pass
+
+func _draw():
+ draw_circle(Vector2(0, 0), radius, color)