add default player info for quicker development

This commit is contained in:
Chris Cromer 2022-08-14 12:43:25 -04:00
parent 8e5c035675
commit 0000cd114c
Signed by: cromer
GPG Key ID: FA91071797BEEEC2
2 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=17 format=2] [gd_scene load_steps=18 format=2]
[ext_resource path="res://assets/fonts/data/PixelOperator.tres" type="DynamicFontData" id=1] [ext_resource path="res://assets/fonts/data/PixelOperator.tres" type="DynamicFontData" id=1]
[ext_resource path="res://assets/fonts/data/PixelOperator-Bold.tres" type="DynamicFontData" id=2] [ext_resource path="res://assets/fonts/data/PixelOperator-Bold.tres" type="DynamicFontData" id=2]
@ -7,6 +7,7 @@
[ext_resource path="res://monitor/EnterButton.gd" type="Script" id=5] [ext_resource path="res://monitor/EnterButton.gd" type="Script" id=5]
[ext_resource path="res://assets/sounds/ui_popup.wav" type="AudioStream" id=6] [ext_resource path="res://assets/sounds/ui_popup.wav" type="AudioStream" id=6]
[ext_resource path="res://assets/sounds/ui_select.wav" type="AudioStream" id=7] [ext_resource path="res://assets/sounds/ui_select.wav" type="AudioStream" id=7]
[ext_resource path="res://monitor/MonitorGUI.gd" type="Script" id=8]
[sub_resource type="DynamicFont" id=1] [sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 1 ) font_data = ExtResource( 1 )
@ -69,6 +70,7 @@ font_data = ExtResource( 2 )
[node name="MonitorGUI" type="CanvasLayer"] [node name="MonitorGUI" type="CanvasLayer"]
pause_mode = 2 pause_mode = 2
script = ExtResource( 8 )
[node name="ColorRect" type="ColorRect" parent="."] [node name="ColorRect" type="ColorRect" parent="."]
margin_right = 40.0 margin_right = 40.0

View File

@ -0,0 +1,12 @@
extends CanvasLayer
export var default_name = ""
export var default_rut = ""
export var default_email = ""
func _ready() -> void:
get_node("%Name").text = default_name
get_node("%Rut").text = default_rut
get_node("%Email").text = default_email