diff options
Diffstat (limited to 'Racing-Game/Panel.gd')
| -rw-r--r-- | Racing-Game/Panel.gd | 19 |
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 |
