Basic infoscreen functionnality

This commit is contained in:
Victor Turgeon
2022-10-12 13:17:07 -04:00
parent 6469c6969f
commit 82932225d1
3 changed files with 58 additions and 4 deletions

26
Scenes/InfoScreen.tscn Normal file
View File

@@ -0,0 +1,26 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Scenes/InfoScreen.gd" type="Script" id=1]
[ext_resource path="res://fonts/TorontoSubwayRegular.ttf" type="DynamicFontData" id=2]
[sub_resource type="DynamicFont" id=3]
size = 100
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 2 )
[sub_resource type="QuadMesh" id=2]
[node name="InfoScreen" type="Spatial"]
script = ExtResource( 1 )
[node name="ScreenText" type="Label3D" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.00113499 )
cast_shadow = 0
double_sided = false
modulate = Color( 0, 0, 0, 1 )
text = " "
font = SubResource( 3 )
[node name="ScreenBackGround" type="MeshInstance" parent="."]
transform = Transform( 1.3, 0, 0, 0, 1.66, 0, 0, 0, 1, 0, 0, 0 )
mesh = SubResource( 2 )