feature/fix_monitor #29
@ -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
|
||||||
|
12
godot/monitor/MonitorGUI.gd
Normal file
12
godot/monitor/MonitorGUI.gd
Normal 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
|
Loading…
Reference in New Issue
Block a user