Basic infoscreen functionnality
This commit is contained in:
26
Scenes/InfoScreen.tscn
Normal file
26
Scenes/InfoScreen.tscn
Normal 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 )
|
||||
Reference in New Issue
Block a user