begin work on game over screen

This commit is contained in:
pennyrigate 2023-10-03 04:08:55 -04:00
parent 01cca79c79
commit 12ea0b0b72
7 changed files with 160 additions and 15 deletions

View file

@ -5,17 +5,17 @@
[ext_resource path="res://ui/Kozuka Mincho Std H.otf" type="DynamicFontData" id=3]
[ext_resource path="res://ui/Boba Date.otf" type="DynamicFontData" id=4]
[sub_resource type="SpatialMaterial" id=16]
albedo_color = Color( 0.105882, 0.34902, 0.509804, 1 )
metallic = 0.46
[sub_resource type="SpatialMaterial" id=9]
albedo_color = Color( 0.901961, 0.133333, 0.133333, 1 )
metallic = 0.35
[sub_resource type="DynamicFont" id=19]
font_data = ExtResource( 1 )
[sub_resource type="TextMesh" id=2]
resource_local_to_scene = true
material = SubResource( 16 )
text = "WELC0ME T0 BUG W0RLD"
material = SubResource( 9 )
text = "TEXT"
font = SubResource( 19 )
pixel_size = 0.05
depth = 0.1
@ -115,6 +115,10 @@ tracks/0/keys = {
"values": [ Vector3( 0, 1, -100 ), Vector3( 0, 1, 0 ) ]
}
[sub_resource type="SpatialMaterial" id=16]
albedo_color = Color( 0.105882, 0.34902, 0.509804, 1 )
metallic = 0.46
[sub_resource type="Animation" id=17]
resource_name = "bug world"
loop = true
@ -179,10 +183,6 @@ tracks/4/keys = {
"values": [ ExtResource( 4 ) ]
}
[sub_resource type="SpatialMaterial" id=9]
albedo_color = Color( 0.901961, 0.133333, 0.133333, 1 )
metallic = 0.35
[sub_resource type="Animation" id=18]
resource_name = "fucker"
length = 2.0
@ -262,6 +262,7 @@ tracks/5/keys = {
[sub_resource type="Animation" id=10]
resource_name = "game over"
length = 2.0
step = 0.025
tracks/0/type = "value"
tracks/0/path = NodePath("TextMesh:translation")
@ -270,10 +271,10 @@ tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, -3, 0 ), Vector3( 0, 1, 0 ) ]
"values": [ Vector3( 0, -3, 0 ), Vector3( 0, 1.8, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("TextMesh:scale")
@ -282,7 +283,7 @@ tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 1 ),
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 1, 1, 1 ) ]
@ -294,7 +295,7 @@ tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 1 ),
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 180, 0 ), Vector3( 0, 0, 0 ) ]
@ -321,7 +322,7 @@ tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ "GAME OVER!" ]
"values": [ "GAME OVER" ]
}
tracks/5/type = "value"
tracks/5/path = NodePath("TextMesh:mesh:font:font_data")
@ -567,7 +568,7 @@ anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
text = "TEXT"
text_material = SubResource( 16 )
text_material = SubResource( 9 )
[node name="Viewport" type="Viewport" parent="."]
size = Vector2( 256, 192 )