From a60fab92b6ad60000aae5b854ca6c2b3a435611c Mon Sep 17 00:00:00 2001 From: realtradam Date: Sat, 19 Feb 2022 09:19:01 -0500 Subject: a little cleanup for better presentation --- Racing-Game/Panel.gd | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Racing-Game/Panel.gd (limited to 'Racing-Game/Panel.gd') 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 -- cgit v1.2.3