game.gd cleaning and partial results screen implementation
This commit is contained in:
parent
b126484109
commit
e2b3db0b93
16 changed files with 425 additions and 436 deletions
|
@ -1,6 +1,5 @@
|
|||
[gd_scene load_steps=25 format=2]
|
||||
[gd_scene load_steps=17 format=2]
|
||||
|
||||
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=1]
|
||||
[ext_resource path="res://shaders/ska_plane.gdshader" type="Shader" id=2]
|
||||
[ext_resource path="res://graphics/collectibles/shard.png" type="Texture" id=3]
|
||||
[ext_resource path="res://graphics/hud/results.png" type="Texture" id=4]
|
||||
|
@ -11,8 +10,8 @@
|
|||
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=9]
|
||||
[ext_resource path="res://ui/theme.tres" type="Theme" id=10]
|
||||
[ext_resource path="res://ui/arrow_figure_8.tres" type="Material" id=11]
|
||||
[ext_resource path="res://menus/shard_results.tscn" type="PackedScene" id=12]
|
||||
[ext_resource path="res://menus/results.gd" type="Script" id=13]
|
||||
[ext_resource path="res://menus/results_icon.tscn" type="PackedScene" id=14]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=5]
|
||||
shader = ExtResource( 2 )
|
||||
|
@ -24,114 +23,10 @@ shader_param/cycle_speed = Vector2( 12, 0 )
|
|||
shader_param/cycle_alternation = Vector2( 2, 0 )
|
||||
shader_param/uv_transform = Transform2D( 1, 1, 0, 1, 0, 0 )
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=6]
|
||||
shader = ExtResource( 1 )
|
||||
shader_param/border_color = Color( 0, 0, 0, 1 )
|
||||
shader_param/border_corners = false
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=7]
|
||||
shader = ExtResource( 1 )
|
||||
shader_param/border_color = Color( 0, 0, 0, 1 )
|
||||
shader_param/border_corners = false
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=8]
|
||||
shader = ExtResource( 1 )
|
||||
shader_param/border_color = Color( 0, 0, 0, 1 )
|
||||
shader_param/border_corners = false
|
||||
|
||||
[sub_resource type="Animation" id=9]
|
||||
resource_name = "Collect"
|
||||
step = 0.5
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("Sprite:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 0.15, 0.3, 0.375, 1 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 0, 0 ), Vector2( 1, 1 ), Vector2( 1.3, 1.3 ), Vector2( 1, 1 ), Vector2( 1, 1 ) ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath("CollectedParticle:emitting")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"update": 1,
|
||||
"values": [ true ]
|
||||
}
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=10]
|
||||
shader = ExtResource( 1 )
|
||||
shader_param/border_color = Color( 0, 0, 0, 1 )
|
||||
shader_param/border_corners = false
|
||||
|
||||
[sub_resource type="Animation" id=11]
|
||||
resource_name = "Collect"
|
||||
step = 0.5
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("Sprite:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 0.15, 0.3, 0.375, 1 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 0, 0 ), Vector2( 1, 1 ), Vector2( 1.3, 1.3 ), Vector2( 1, 1 ), Vector2( 1, 1 ) ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath("CollectedParticle:emitting")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"update": 1,
|
||||
"values": [ true ]
|
||||
}
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=12]
|
||||
shader = ExtResource( 1 )
|
||||
shader_param/border_color = Color( 0, 0, 0, 1 )
|
||||
shader_param/border_corners = false
|
||||
|
||||
[sub_resource type="Animation" id=13]
|
||||
resource_name = "Collect"
|
||||
step = 0.5
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("Sprite:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 0.15, 0.3, 0.375, 1 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 0, 0 ), Vector2( 1, 1 ), Vector2( 1.3, 1.3 ), Vector2( 1, 1 ), Vector2( 1, 1 ) ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath("CollectedParticle:emitting")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"update": 1,
|
||||
"values": [ true ]
|
||||
}
|
||||
[sub_resource type="Gradient" id=2]
|
||||
interpolation_mode = 2
|
||||
offsets = PoolRealArray( 0, 0.734694, 1 )
|
||||
colors = PoolColorArray( 0.576471, 0.980392, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 )
|
||||
|
||||
[sub_resource type="Animation" id=3]
|
||||
resource_name = "New Anim"
|
||||
|
@ -142,7 +37,7 @@ loop = true
|
|||
resource_name = "results"
|
||||
length = 50.0
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("ShardSprites/ShardTitle1:visible")
|
||||
tracks/0/path = NodePath("Shards/Shard1/Title:visible")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
|
@ -154,7 +49,7 @@ tracks/0/keys = {
|
|||
"values": [ false ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath("ShardSprites/ShardTitle2:visible")
|
||||
tracks/1/path = NodePath("Shards/Shard2/Title:visible")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
|
@ -166,7 +61,7 @@ tracks/1/keys = {
|
|||
"values": [ false ]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/path = NodePath("ShardSprites/ShardTitle3:visible")
|
||||
tracks/2/path = NodePath("Shards/Shard3/Title:visible")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/imported = false
|
||||
|
@ -178,7 +73,7 @@ tracks/2/keys = {
|
|||
"values": [ false ]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/path = NodePath("ShardSprites/ShardTitle4:visible")
|
||||
tracks/3/path = NodePath("Score:visible")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/imported = false
|
||||
|
@ -190,7 +85,7 @@ tracks/3/keys = {
|
|||
"values": [ false ]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/path = NodePath("ShardSprites/ShardTitle5:visible")
|
||||
tracks/4/path = NodePath("Bonuses/CollectionBonus/CollectionBonusText:visible")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/imported = false
|
||||
|
@ -202,7 +97,7 @@ tracks/4/keys = {
|
|||
"values": [ false ]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/path = NodePath("Score:visible")
|
||||
tracks/5/path = NodePath("Bonuses/TimeBonus/TimeBonusText:visible")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/imported = false
|
||||
|
@ -214,7 +109,7 @@ tracks/5/keys = {
|
|||
"values": [ false ]
|
||||
}
|
||||
tracks/6/type = "value"
|
||||
tracks/6/path = NodePath("BonusSprites/CollectionBonusText:visible")
|
||||
tracks/6/path = NodePath("Bonuses/LifeBonus/LifeBonusText:visible")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/imported = false
|
||||
|
@ -226,7 +121,7 @@ tracks/6/keys = {
|
|||
"values": [ false ]
|
||||
}
|
||||
tracks/7/type = "value"
|
||||
tracks/7/path = NodePath("BonusSprites/TimeBonusText:visible")
|
||||
tracks/7/path = NodePath("Bonuses/PerfectBonus/PerfectBonusText:visible")
|
||||
tracks/7/interp = 1
|
||||
tracks/7/loop_wrap = true
|
||||
tracks/7/imported = false
|
||||
|
@ -238,7 +133,7 @@ tracks/7/keys = {
|
|||
"values": [ false ]
|
||||
}
|
||||
tracks/8/type = "value"
|
||||
tracks/8/path = NodePath("BonusSprites/LifeBonusText:visible")
|
||||
tracks/8/path = NodePath("FinalScore:visible")
|
||||
tracks/8/interp = 1
|
||||
tracks/8/loop_wrap = true
|
||||
tracks/8/imported = false
|
||||
|
@ -249,142 +144,186 @@ tracks/8/keys = {
|
|||
"update": 1,
|
||||
"values": [ false ]
|
||||
}
|
||||
tracks/9/type = "value"
|
||||
tracks/9/path = NodePath("BonusSprites/PerfectBonusText:visible")
|
||||
tracks/9/interp = 1
|
||||
tracks/9/loop_wrap = true
|
||||
tracks/9/imported = false
|
||||
tracks/9/enabled = true
|
||||
tracks/9/keys = {
|
||||
"times": PoolRealArray( 0 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"update": 1,
|
||||
"values": [ false ]
|
||||
}
|
||||
tracks/10/type = "value"
|
||||
tracks/10/path = NodePath("Final Score:visible")
|
||||
tracks/10/interp = 1
|
||||
tracks/10/loop_wrap = true
|
||||
tracks/10/imported = false
|
||||
tracks/10/enabled = true
|
||||
tracks/10/keys = {
|
||||
"times": PoolRealArray( 0 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"update": 1,
|
||||
"values": [ false ]
|
||||
}
|
||||
|
||||
[node name="Results" type="Node2D"]
|
||||
[node name="Results" type="Node"]
|
||||
script = ExtResource( 13 )
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
[node name="Background" type="ColorRect" parent="."]
|
||||
material = SubResource( 5 )
|
||||
margin_right = 256.0
|
||||
margin_bottom = 192.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_lock_": true
|
||||
}
|
||||
|
||||
[node name="ShardSprites" type="Node2D" parent="."]
|
||||
position = Vector2( 0, -10 )
|
||||
[node name="Shards" type="Node2D" parent="."]
|
||||
|
||||
[node name="Empty1" type="Sprite" parent="ShardSprites"]
|
||||
modulate = Color( 0, 0, 0, 1 )
|
||||
material = SubResource( 6 )
|
||||
position = Vector2( 24, 24 )
|
||||
[node name="Shard1" parent="Shards" instance=ExtResource( 14 )]
|
||||
position = Vector2( 24, 14 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Empty2" type="Sprite" parent="ShardSprites"]
|
||||
modulate = Color( 0, 0, 0, 1 )
|
||||
material = SubResource( 6 )
|
||||
position = Vector2( 24, 40 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Empty3" type="Sprite" parent="ShardSprites"]
|
||||
modulate = Color( 0, 0, 0, 1 )
|
||||
material = SubResource( 6 )
|
||||
position = Vector2( 24, 56 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Empty4" type="Sprite" parent="ShardSprites"]
|
||||
modulate = Color( 0, 0, 0, 1 )
|
||||
material = SubResource( 6 )
|
||||
position = Vector2( 24, 72 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Empty5" type="Sprite" parent="ShardSprites"]
|
||||
modulate = Color( 0, 0, 0, 1 )
|
||||
material = SubResource( 6 )
|
||||
position = Vector2( 24, 88 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Shard" parent="ShardSprites" instance=ExtResource( 12 )]
|
||||
position = Vector2( 23, 23 )
|
||||
|
||||
[node name="Shard2" parent="ShardSprites" instance=ExtResource( 12 )]
|
||||
position = Vector2( 23, 39 )
|
||||
|
||||
[node name="Shard3" parent="ShardSprites" instance=ExtResource( 12 )]
|
||||
position = Vector2( 23, 55 )
|
||||
|
||||
[node name="Shard4" parent="ShardSprites" instance=ExtResource( 12 )]
|
||||
position = Vector2( 23, 71 )
|
||||
|
||||
[node name="Shard5" parent="ShardSprites" instance=ExtResource( 12 )]
|
||||
position = Vector2( 23, 87 )
|
||||
|
||||
[node name="ShardTitle1" type="Label" parent="ShardSprites"]
|
||||
visible = false
|
||||
[node name="Title" type="Label" parent="Shards/Shard1"]
|
||||
material = ExtResource( 9 )
|
||||
margin_left = 32.0
|
||||
margin_top = 18.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 32.0
|
||||
margin_left = 8.0
|
||||
margin_top = -6.0
|
||||
margin_right = 176.0
|
||||
margin_bottom = 8.0
|
||||
theme = ExtResource( 10 )
|
||||
text = "AAAAAAAAAAAAAAAAAAAAAAAA"
|
||||
|
||||
[node name="ShardTitle2" type="Label" parent="ShardSprites"]
|
||||
visible = false
|
||||
[node name="CollectedParticles" type="CPUParticles2D" parent="Shards/Shard1"]
|
||||
pause_mode = 2
|
||||
emitting = false
|
||||
amount = 64
|
||||
one_shot = true
|
||||
explosiveness = 1.0
|
||||
local_coords = false
|
||||
emission_shape = 2
|
||||
emission_rect_extents = Vector2( 4, 4 )
|
||||
direction = Vector2( 0, -1 )
|
||||
spread = 180.0
|
||||
gravity = Vector2( 0, 150 )
|
||||
initial_velocity = 250.0
|
||||
initial_velocity_random = 0.9
|
||||
damping = 2.0
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale_amount_random = 1.0
|
||||
color_ramp = SubResource( 2 )
|
||||
|
||||
[node name="Shard2" parent="Shards" instance=ExtResource( 14 )]
|
||||
position = Vector2( 24, 30 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Title" type="Label" parent="Shards/Shard2"]
|
||||
material = ExtResource( 9 )
|
||||
margin_left = 32.0
|
||||
margin_top = 34.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 48.0
|
||||
margin_left = 8.0
|
||||
margin_top = -6.0
|
||||
margin_right = 176.0
|
||||
margin_bottom = 8.0
|
||||
theme = ExtResource( 10 )
|
||||
text = "AAAAAAAAAAAAAAAAAAAAAAAA"
|
||||
|
||||
[node name="ShardTitle3" type="Label" parent="ShardSprites"]
|
||||
visible = false
|
||||
[node name="CollectedParticles" type="CPUParticles2D" parent="Shards/Shard2"]
|
||||
pause_mode = 2
|
||||
emitting = false
|
||||
amount = 64
|
||||
one_shot = true
|
||||
explosiveness = 1.0
|
||||
local_coords = false
|
||||
emission_shape = 2
|
||||
emission_rect_extents = Vector2( 4, 4 )
|
||||
direction = Vector2( 0, -1 )
|
||||
spread = 180.0
|
||||
gravity = Vector2( 0, 150 )
|
||||
initial_velocity = 250.0
|
||||
initial_velocity_random = 0.9
|
||||
damping = 2.0
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale_amount_random = 1.0
|
||||
color_ramp = SubResource( 2 )
|
||||
|
||||
[node name="Shard3" parent="Shards" instance=ExtResource( 14 )]
|
||||
position = Vector2( 24, 46 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Title" type="Label" parent="Shards/Shard3"]
|
||||
material = ExtResource( 9 )
|
||||
margin_left = 32.0
|
||||
margin_top = 50.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 64.0
|
||||
margin_left = 8.0
|
||||
margin_top = -6.0
|
||||
margin_right = 176.0
|
||||
margin_bottom = 8.0
|
||||
theme = ExtResource( 10 )
|
||||
text = "AAAAAAAAAAAAAAAAAAAAAAAA"
|
||||
|
||||
[node name="ShardTitle4" type="Label" parent="ShardSprites"]
|
||||
visible = false
|
||||
[node name="CollectedParticle" type="CPUParticles2D" parent="Shards/Shard3"]
|
||||
pause_mode = 2
|
||||
emitting = false
|
||||
amount = 64
|
||||
one_shot = true
|
||||
explosiveness = 1.0
|
||||
local_coords = false
|
||||
emission_shape = 2
|
||||
emission_rect_extents = Vector2( 4, 4 )
|
||||
direction = Vector2( 0, -1 )
|
||||
spread = 180.0
|
||||
gravity = Vector2( 0, 150 )
|
||||
initial_velocity = 250.0
|
||||
initial_velocity_random = 0.9
|
||||
damping = 2.0
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale_amount_random = 1.0
|
||||
color_ramp = SubResource( 2 )
|
||||
|
||||
[node name="Shard4" parent="Shards" instance=ExtResource( 14 )]
|
||||
position = Vector2( 24, 62 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Title" type="Label" parent="Shards/Shard4"]
|
||||
material = ExtResource( 9 )
|
||||
margin_left = 32.0
|
||||
margin_top = 66.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 80.0
|
||||
margin_left = 8.0
|
||||
margin_top = -6.0
|
||||
margin_right = 176.0
|
||||
margin_bottom = 8.0
|
||||
theme = ExtResource( 10 )
|
||||
text = "AAAAAAAAAAAAAAAAAAAAAAAA"
|
||||
|
||||
[node name="ShardTitle5" type="Label" parent="ShardSprites"]
|
||||
visible = false
|
||||
[node name="CollectedParticle" type="CPUParticles2D" parent="Shards/Shard4"]
|
||||
pause_mode = 2
|
||||
emitting = false
|
||||
amount = 64
|
||||
one_shot = true
|
||||
explosiveness = 1.0
|
||||
local_coords = false
|
||||
emission_shape = 2
|
||||
emission_rect_extents = Vector2( 4, 4 )
|
||||
direction = Vector2( 0, -1 )
|
||||
spread = 180.0
|
||||
gravity = Vector2( 0, 150 )
|
||||
initial_velocity = 250.0
|
||||
initial_velocity_random = 0.9
|
||||
damping = 2.0
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale_amount_random = 1.0
|
||||
color_ramp = SubResource( 2 )
|
||||
|
||||
[node name="Shard5" parent="Shards" instance=ExtResource( 14 )]
|
||||
position = Vector2( 24, 78 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Title" type="Label" parent="Shards/Shard5"]
|
||||
material = ExtResource( 9 )
|
||||
margin_left = 32.0
|
||||
margin_top = 82.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 96.0
|
||||
margin_left = 8.0
|
||||
margin_top = -6.0
|
||||
margin_right = 176.0
|
||||
margin_bottom = 8.0
|
||||
theme = ExtResource( 10 )
|
||||
text = "AAAAAAAAAAAAAAAAAAAAAAAA"
|
||||
|
||||
[node name="CollectedParticle" type="CPUParticles2D" parent="Shards/Shard5"]
|
||||
pause_mode = 2
|
||||
emitting = false
|
||||
amount = 64
|
||||
one_shot = true
|
||||
explosiveness = 1.0
|
||||
local_coords = false
|
||||
emission_shape = 2
|
||||
emission_rect_extents = Vector2( 4, 4 )
|
||||
direction = Vector2( 0, -1 )
|
||||
spread = 180.0
|
||||
gravity = Vector2( 0, 150 )
|
||||
initial_velocity = 250.0
|
||||
initial_velocity_random = 0.9
|
||||
damping = 2.0
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale_amount_random = 1.0
|
||||
color_ramp = SubResource( 2 )
|
||||
|
||||
[node name="Score" type="Label" parent="."]
|
||||
visible = false
|
||||
material = ExtResource( 9 )
|
||||
margin_top = 93.0
|
||||
margin_right = 256.0
|
||||
|
@ -393,112 +332,62 @@ theme = ExtResource( 10 )
|
|||
text = "Score: 0000000"
|
||||
align = 1
|
||||
|
||||
[node name="BonusSprites" type="Node2D" parent="."]
|
||||
[node name="Bonuses" type="Node2D" parent="."]
|
||||
position = Vector2( 0, 6 )
|
||||
|
||||
[node name="CollectionBonusEmpty" type="Sprite" parent="BonusSprites"]
|
||||
modulate = Color( 0, 0, 0, 1 )
|
||||
material = SubResource( 7 )
|
||||
[node name="CollectionBonus" parent="Bonuses" instance=ExtResource( 14 )]
|
||||
position = Vector2( 24, 112 )
|
||||
texture = ExtResource( 7 )
|
||||
|
||||
[node name="CollectionBonus" parent="BonusSprites" instance=ExtResource( 12 )]
|
||||
position = Vector2( 24, 112 )
|
||||
|
||||
[node name="Sprite" parent="BonusSprites/CollectionBonus" index="0"]
|
||||
position = Vector2( 0, 0 )
|
||||
texture = ExtResource( 7 )
|
||||
|
||||
[node name="CollectionBonusText" type="Label" parent="BonusSprites"]
|
||||
visible = false
|
||||
[node name="CollectionBonusText" type="Label" parent="Bonuses/CollectionBonus"]
|
||||
material = ExtResource( 9 )
|
||||
margin_left = 32.0
|
||||
margin_top = 106.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 120.0
|
||||
margin_left = 8.0
|
||||
margin_top = -6.0
|
||||
margin_right = 176.0
|
||||
margin_bottom = 8.0
|
||||
theme = ExtResource( 10 )
|
||||
text = "Collection Bonus"
|
||||
|
||||
[node name="TimeBonusEmpty" type="Sprite" parent="BonusSprites"]
|
||||
modulate = Color( 0, 0, 0, 1 )
|
||||
material = SubResource( 8 )
|
||||
[node name="TimeBonus" parent="Bonuses" instance=ExtResource( 14 )]
|
||||
position = Vector2( 24, 128 )
|
||||
texture = ExtResource( 8 )
|
||||
|
||||
[node name="TimeBonus" parent="BonusSprites" instance=ExtResource( 12 )]
|
||||
position = Vector2( 24, 128 )
|
||||
|
||||
[node name="Sprite" parent="BonusSprites/TimeBonus" index="0"]
|
||||
position = Vector2( 0, 0 )
|
||||
texture = ExtResource( 8 )
|
||||
|
||||
[node name="AnimationPlayer" parent="BonusSprites/TimeBonus" index="1"]
|
||||
anims/Collect = SubResource( 9 )
|
||||
|
||||
[node name="TimeBonusText" type="Label" parent="BonusSprites"]
|
||||
visible = false
|
||||
[node name="TimeBonusText" type="Label" parent="Bonuses/TimeBonus"]
|
||||
material = ExtResource( 9 )
|
||||
margin_left = 32.0
|
||||
margin_top = 122.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 136.0
|
||||
margin_left = 8.0
|
||||
margin_top = -6.0
|
||||
margin_right = 176.0
|
||||
margin_bottom = 8.0
|
||||
theme = ExtResource( 10 )
|
||||
text = "Time Bonus"
|
||||
|
||||
[node name="LifeBonusEmpty" type="Sprite" parent="BonusSprites"]
|
||||
modulate = Color( 0, 0, 0, 1 )
|
||||
material = SubResource( 10 )
|
||||
[node name="LifeBonus" parent="Bonuses" instance=ExtResource( 14 )]
|
||||
position = Vector2( 24, 144 )
|
||||
texture = ExtResource( 6 )
|
||||
|
||||
[node name="LifeBonus" parent="BonusSprites" instance=ExtResource( 12 )]
|
||||
position = Vector2( 24, 144 )
|
||||
|
||||
[node name="Sprite" parent="BonusSprites/LifeBonus" index="0"]
|
||||
position = Vector2( 0, 0 )
|
||||
texture = ExtResource( 6 )
|
||||
|
||||
[node name="AnimationPlayer" parent="BonusSprites/LifeBonus" index="1"]
|
||||
anims/Collect = SubResource( 11 )
|
||||
|
||||
[node name="LifeBonusText" type="Label" parent="BonusSprites"]
|
||||
visible = false
|
||||
[node name="LifeBonusText" type="Label" parent="Bonuses/LifeBonus"]
|
||||
material = ExtResource( 9 )
|
||||
margin_left = 32.0
|
||||
margin_top = 138.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 152.0
|
||||
margin_left = 8.0
|
||||
margin_top = -6.0
|
||||
margin_right = 176.0
|
||||
margin_bottom = 8.0
|
||||
theme = ExtResource( 10 )
|
||||
text = "Life Bonus"
|
||||
|
||||
[node name="PerfectBonusEmpty" type="Sprite" parent="BonusSprites"]
|
||||
modulate = Color( 0, 0, 0, 1 )
|
||||
material = SubResource( 12 )
|
||||
[node name="PerfectBonus" parent="Bonuses" instance=ExtResource( 14 )]
|
||||
position = Vector2( 24, 160 )
|
||||
texture = ExtResource( 5 )
|
||||
|
||||
[node name="PerfectBonus" parent="BonusSprites" instance=ExtResource( 12 )]
|
||||
position = Vector2( 24, 160 )
|
||||
|
||||
[node name="Sprite" parent="BonusSprites/PerfectBonus" index="0"]
|
||||
position = Vector2( 0, 0 )
|
||||
texture = ExtResource( 5 )
|
||||
|
||||
[node name="AnimationPlayer" parent="BonusSprites/PerfectBonus" index="1"]
|
||||
anims/Collect = SubResource( 13 )
|
||||
|
||||
[node name="PerfectBonusText" type="Label" parent="BonusSprites"]
|
||||
visible = false
|
||||
[node name="PerfectBonusText" type="Label" parent="Bonuses/PerfectBonus"]
|
||||
material = ExtResource( 9 )
|
||||
margin_left = 32.0
|
||||
margin_top = 154.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 168.0
|
||||
margin_left = 8.0
|
||||
margin_top = -6.0
|
||||
margin_right = 176.0
|
||||
margin_bottom = 8.0
|
||||
theme = ExtResource( 10 )
|
||||
text = "Perfect Bonus"
|
||||
|
||||
[node name="Final Score" type="Label" parent="."]
|
||||
visible = false
|
||||
[node name="FinalScore" type="Label" parent="."]
|
||||
material = ExtResource( 9 )
|
||||
margin_top = 178.0
|
||||
margin_right = 256.0
|
||||
|
@ -507,18 +396,12 @@ theme = ExtResource( 10 )
|
|||
text = "Final score: 123456789"
|
||||
align = 1
|
||||
|
||||
[node name="Results" type="Sprite" parent="."]
|
||||
material = ExtResource( 11 )
|
||||
position = Vector2( 232, 80 )
|
||||
texture = ExtResource( 4 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
autoplay = "New Anim"
|
||||
"anims/New Anim" = SubResource( 3 )
|
||||
anims/results = SubResource( 4 )
|
||||
|
||||
[node name="Results" type="Sprite" parent="."]
|
||||
material = ExtResource( 11 )
|
||||
position = Vector2( 232, 80 )
|
||||
scale = Vector2( 1, 0.679105 )
|
||||
texture = ExtResource( 4 )
|
||||
|
||||
[editable path="BonusSprites/CollectionBonus"]
|
||||
[editable path="BonusSprites/TimeBonus"]
|
||||
[editable path="BonusSprites/LifeBonus"]
|
||||
[editable path="BonusSprites/PerfectBonus"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue