summaryrefslogtreecommitdiffhomepage
path: root/Racing-Game/Panel.gd
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-02-19 09:19:01 -0500
committerrealtradam <[email protected]>2022-02-19 09:19:01 -0500
commita60fab92b6ad60000aae5b854ca6c2b3a435611c (patch)
tree8e74b94fd549efba0123cfcece9943933aa5b0a0 /Racing-Game/Panel.gd
parent727bd8009e3e1392d61f39326cf5a47e69af8cae (diff)
downloadoptimal-direction-a60fab92b6ad60000aae5b854ca6c2b3a435611c.tar.gz
optimal-direction-a60fab92b6ad60000aae5b854ca6c2b3a435611c.zip
a little cleanup for better presentation
Diffstat (limited to 'Racing-Game/Panel.gd')
-rw-r--r--Racing-Game/Panel.gd19
1 files changed, 19 insertions, 0 deletions
diff --git a/Racing-Game/Panel.gd b/Racing-Game/Panel.gd
new file mode 100644
index 0000000..5ba56ff
--- /dev/null
+++ b/Racing-Game/Panel.gd
@@ -0,0 +1,19 @@
+extends Panel
+
+
+# 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):
+ var window_rect = OS.get_window_size()
+
+ set_position(Vector2(window_rect.x - 500, window_rect.y - 330))
+ pass