revo-jailbreak/menus/level_select_scholar.tscn

460 lines
14 KiB
Text

[gd_scene load_steps=21 format=2]
[ext_resource path="res://menus/level_select_scholar.gd" type="Script" id=1]
[ext_resource path="res://graphics/level_select/world_map.png" type="Texture" id=2]
[ext_resource path="res://graphics/level_select/small_sg.png" type="Texture" id=3]
[ext_resource path="res://ui/theme.tres" type="Theme" id=4]
[ext_resource path="res://graphics/hud/pause_arrow.png" type="Texture" id=5]
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=6]
[ext_resource path="res://shaders/wibble_wobble.gdshader" type="Shader" id=7]
[ext_resource path="res://graphics/hud/deaths_head.png" type="Texture" id=8]
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=9]
[ext_resource path="res://graphics/collectibles/shard.png" type="Texture" id=10]
[ext_resource path="res://objects/collectibles/shard.tscn" type="PackedScene" id=11]
[ext_resource path="res://ui/2ndpuberty_scholar_outline.fnt" type="BitmapFont" id=12]
[ext_resource path="res://graphics/hud/levelselect_arrow.png" type="Texture" id=14]
[sub_resource type="Curve2D" id=1]
_data = {
"points": PoolVector2Array( -2.9375, -8.1875, 2.9375, 8.1875, 61, 140, -4.4375, -0.0625, 4.4375, 0.0625, 78, 149, -4.15425, 1.32583, 4.15425, -1.32583, 96, 148, -1.65424, 3.52941, 1.65424, -3.52941, 112, 142, -1.88775, 1.4748, 1.88775, -1.4748, 113, 134, 0, 0, 0, 0, 119, 134, -1.08543, 0.828444, 1.08543, -0.828444, 125, 134, 2.83044, 1.16526, -2.83044, -1.16526, 125, 128, -0.794597, 4.50272, 0.794597, -4.50272, 123, 106, -4.30959, 1.47157, 4.30959, -1.47157, 130, 93, -11.05, -1.311, 11.05, 1.311, 141, 96, -1.31102, 2.24746, 1.31102, -2.24746, 155, 99, -2.22725, 4.12041, 2.22725, -4.12041, 162, 84, -4.89994, 0, 4.89994, 0, 172, 75, 0, -4.73004, 0, 4.73004, 184, 88, 0, -4.51982, 0, 4.51982, 177, 100, -3.88915, 0.630672, 3.88915, -0.630672, 185, 107, -0.630672, -4.62493, 0.630672, 4.62493, 192, 118, 1.05112, -1.99713, -1.05112, 1.99713, 190, 128, 2.6278, -0.420448, -2.6278, 0.420448, 184, 132, 1.78381, -1.78381, -1.78381, 1.78381, 175, 132, -6.30672, -0.210224, 6.30672, 0.210224, 181, 137, 0.52556, 6.83228, -0.52556, -6.83228, 204, 130 )
}
[sub_resource type="ShaderMaterial" id=2]
shader = ExtResource( 7 )
shader_param/speed = Vector2( 4, 0 )
shader_param/ammount = Vector2( 2, 0 )
shader_param/offset = Vector2( 0, 0 )
shader_param/delay = Vector2( 0, 0 )
[sub_resource type="ShaderMaterial" id=3]
shader = ExtResource( 7 )
shader_param/speed = Vector2( 4, 0 )
shader_param/ammount = Vector2( 2, 0 )
shader_param/offset = Vector2( 0, 0 )
shader_param/delay = Vector2( 4, 0 )
[sub_resource type="ShaderMaterial" id=5]
shader = ExtResource( 9 )
shader_param/border_color = Color( 0, 0, 0, 1 )
shader_param/border_corners = false
[sub_resource type="Animation" id=6]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath("LevelStats:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ false ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("LevelStats:rect_scale")
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": 0,
"values": [ Vector2( 1, 1 ) ]
}
[sub_resource type="Animation" id=8]
resource_name = "hide_stats"
length = 0.4
tracks/0/type = "value"
tracks/0/path = NodePath("LevelStats:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0.4 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("LevelStats:rect_scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.2, 0.4 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ), Vector2( 1, 0.02 ), Vector2( 0, 0.02 ) ]
}
[sub_resource type="Animation" id=7]
resource_name = "show_stats"
length = 0.4
tracks/0/type = "value"
tracks/0/path = NodePath("LevelStats:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("LevelStats:rect_scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.2, 0.4 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 0.02 ), Vector2( 1, 0.02 ), Vector2( 1, 1 ) ]
}
[node name="LevelSelect" type="Node"]
script = ExtResource( 1 )
[node name="WorldMap" type="TextureRect" parent="."]
margin_right = 256.0
margin_bottom = 192.0
texture = ExtResource( 2 )
[node name="LevelPath" type="Path2D" parent="."]
curve = SubResource( 1 )
[node name="PlayerPosition" type="PathFollow2D" parent="LevelPath"]
unique_name_in_owner = true
position = Vector2( 61, 140 )
rotate = false
[node name="PlayerSprite" type="Sprite" parent="LevelPath/PlayerPosition"]
unique_name_in_owner = true
position = Vector2( 0, -2 )
texture = ExtResource( 3 )
[node name="hills" type="PathFollow2D" parent="LevelPath"]
position = Vector2( 61, 140 )
rotation = 1.04814
[node name="canopy" type="PathFollow2D" parent="LevelPath"]
position = Vector2( 89.5314, 148.93 )
rotation = -0.105869
offset = 32.0
[node name="mountain" type="PathFollow2D" parent="LevelPath"]
position = Vector2( 111.481, 142.765 )
rotation = -1.37064
offset = 55.0
[node name="boss1" type="PathFollow2D" parent="LevelPath"]
position = Vector2( 118.615, 133.912 )
rotation = 0.140896
offset = 69.0
[node name="cave" type="PathFollow2D" parent="LevelPath"]
position = Vector2( 126.41, 129.495 )
rotation = -2.19952
offset = 80.0
[node name="InCave" type="PathFollow2D" parent="LevelPath"]
unique_name_in_owner = true
position = Vector2( 124.058, 126.26 )
rotation = -1.85459
offset = 84.0
[node name="OutCave" type="PathFollow2D" parent="LevelPath"]
unique_name_in_owner = true
position = Vector2( 139.8, 95.8421 )
rotation = 0.144373
offset = 130.0
[node name="abyss" type="PathFollow2D" parent="LevelPath"]
position = Vector2( 154.261, 99.6526 )
rotation = -1.01682
offset = 145.0
[node name="graveyard" type="PathFollow2D" parent="LevelPath"]
position = Vector2( 171.416, 75.085 )
rotation = 0.234945
offset = 176.0
[node name="station" type="PathFollow2D" parent="LevelPath"]
position = Vector2( 181.076, 106.194 )
rotation = 0.297386
offset = 217.0
[node name="rust" type="PathFollow2D" parent="LevelPath"]
position = Vector2( 177.983, 131.216 )
rotation = 2.36539
offset = 258.0
[node name="lab" type="PathFollow2D" parent="LevelPath"]
position = Vector2( 204, 130 )
offset = 300.0
[node name="CurrentLevel" type="HBoxContainer" parent="."]
anchor_right = 1.0
margin_bottom = 16.0
theme = ExtResource( 4 )
alignment = 1
[node name="BackArrow" type="TextureRect" parent="CurrentLevel"]
unique_name_in_owner = true
material = SubResource( 2 )
margin_left = 61.0
margin_top = 4.0
margin_right = 67.0
margin_bottom = 12.0
size_flags_vertical = 4
texture = ExtResource( 5 )
flip_h = true
[node name="LevelTitle" type="Label" parent="CurrentLevel"]
unique_name_in_owner = true
material = ExtResource( 6 )
margin_left = 71.0
margin_top = 3.0
margin_right = 162.0
margin_bottom = 13.0
theme = ExtResource( 4 )
text = "Verdant Hills"
align = 1
valign = 1
[node name="ForwardArrow" type="TextureRect" parent="CurrentLevel"]
unique_name_in_owner = true
visible = false
material = SubResource( 3 )
margin_left = 164.0
margin_top = 4.0
margin_right = 170.0
margin_bottom = 12.0
size_flags_vertical = 4
texture = ExtResource( 5 )
[node name="BossBlock" type="TextureRect" parent="CurrentLevel"]
unique_name_in_owner = true
visible = false
margin_left = 169.0
margin_top = 4.0
margin_right = 176.0
margin_bottom = 12.0
size_flags_vertical = 4
texture = ExtResource( 8 )
[node name="ShardsBlock" type="HBoxContainer" parent="CurrentLevel"]
unique_name_in_owner = true
margin_left = 166.0
margin_right = 195.0
margin_bottom = 16.0
[node name="Icon" type="TextureRect" parent="CurrentLevel/ShardsBlock"]
margin_top = 2.0
margin_right = 11.0
margin_bottom = 13.0
size_flags_vertical = 4
texture = ExtResource( 10 )
[node name="ShardsNeeded" type="Label" parent="CurrentLevel/ShardsBlock"]
unique_name_in_owner = true
modulate = Color( 0.933333, 0.247059, 0.247059, 1 )
margin_left = 15.0
margin_top = 3.0
margin_right = 29.0
margin_bottom = 13.0
custom_fonts/font = ExtResource( 12 )
text = "15"
[node name="LevelStats" type="Panel" parent="."]
visible = false
margin_left = 40.0
margin_top = 45.0
margin_right = 216.0
margin_bottom = 147.0
grow_horizontal = 2
grow_vertical = 2
rect_min_size = Vector2( 176, 102 )
rect_pivot_offset = Vector2( 88, 51 )
theme = ExtResource( 4 )
[node name="HighScoreLabel" type="Label" parent="LevelStats"]
material = ExtResource( 6 )
margin_left = 16.0
margin_top = 16.0
margin_right = 160.0
margin_bottom = 26.0
theme = ExtResource( 4 )
text = "High SCORE:"
align = 1
[node name="Any" type="Label" parent="LevelStats"]
material = ExtResource( 6 )
margin_left = 39.0
margin_top = 27.0
margin_right = 67.0
margin_bottom = 37.0
theme = ExtResource( 4 )
text = "any%"
align = 1
[node name="ScoreAny" type="Label" parent="LevelStats/Any"]
unique_name_in_owner = true
use_parent_material = true
margin_top = 13.0
margin_right = 28.0
margin_bottom = 23.0
text = "0000"
[node name="TimeAny" type="Label" parent="LevelStats/Any"]
unique_name_in_owner = true
use_parent_material = true
margin_left = -11.0
margin_top = 26.0
margin_right = 38.0
margin_bottom = 36.0
text = "0:00.00"
[node name="100" type="Label" parent="LevelStats"]
material = ExtResource( 6 )
margin_left = 102.0
margin_top = 27.0
margin_right = 130.0
margin_bottom = 37.0
theme = ExtResource( 4 )
text = "100%"
align = 1
[node name="Score100" type="Label" parent="LevelStats/100"]
unique_name_in_owner = true
use_parent_material = true
margin_top = 13.0
margin_right = 28.0
margin_bottom = 23.0
text = "0000"
[node name="Time100" type="Label" parent="LevelStats/100"]
unique_name_in_owner = true
use_parent_material = true
margin_left = -11.0
margin_top = 26.0
margin_right = 38.0
margin_bottom = 36.0
text = "0:00.00"
[node name="ShardTitle" type="Label" parent="LevelStats"]
unique_name_in_owner = true
material = ExtResource( 6 )
margin_left = 3.0
margin_top = 89.0
margin_right = 173.0
margin_bottom = 99.0
theme = ExtResource( 4 )
text = "AAAAAAAAAAAAAAAAAAAAAAAA"
align = 1
[node name="EmptyShards" type="Node2D" parent="LevelStats"]
position = Vector2( -40, -35 )
[node name="EmptyShard1" type="Sprite" parent="LevelStats/EmptyShards"]
modulate = Color( 0, 0, 0, 1 )
material = SubResource( 5 )
position = Vector2( 76, 118 )
texture = ExtResource( 10 )
[node name="EmptyShard2" type="Sprite" parent="LevelStats/EmptyShards"]
modulate = Color( 0, 0, 0, 1 )
material = SubResource( 5 )
position = Vector2( 91, 118 )
texture = ExtResource( 10 )
[node name="EmptyShard3" type="Sprite" parent="LevelStats/EmptyShards"]
modulate = Color( 0, 0, 0, 1 )
material = SubResource( 5 )
position = Vector2( 106, 118 )
texture = ExtResource( 10 )
[node name="EmptyShard4" type="Sprite" parent="LevelStats/EmptyShards"]
modulate = Color( 0, 0, 0, 1 )
material = SubResource( 5 )
position = Vector2( 121, 118 )
texture = ExtResource( 10 )
[node name="EmptyShard5" type="Sprite" parent="LevelStats/EmptyShards"]
modulate = Color( 0, 0, 0, 1 )
material = SubResource( 5 )
position = Vector2( 136, 118 )
texture = ExtResource( 10 )
[node name="EmptyShard6" type="Sprite" parent="LevelStats/EmptyShards"]
modulate = Color( 0, 0, 0, 1 )
material = SubResource( 5 )
position = Vector2( 151, 118 )
texture = ExtResource( 10 )
[node name="EmptyShard7" type="Sprite" parent="LevelStats/EmptyShards"]
modulate = Color( 0, 0, 0, 1 )
material = SubResource( 5 )
position = Vector2( 166, 118 )
texture = ExtResource( 10 )
[node name="EmptyShard8" type="Sprite" parent="LevelStats/EmptyShards"]
modulate = Color( 0, 0, 0, 1 )
material = SubResource( 5 )
position = Vector2( 181, 118 )
texture = ExtResource( 10 )
[node name="FilledShards" type="Node2D" parent="LevelStats"]
unique_name_in_owner = true
[node name="Shard1" parent="LevelStats/FilledShards" instance=ExtResource( 11 )]
visible = false
position = Vector2( 31, 80 )
[node name="Shard2" parent="LevelStats/FilledShards" instance=ExtResource( 11 )]
visible = false
position = Vector2( 46, 80 )
[node name="Shard3" parent="LevelStats/FilledShards" instance=ExtResource( 11 )]
visible = false
position = Vector2( 61, 80 )
[node name="Shard4" parent="LevelStats/FilledShards" instance=ExtResource( 11 )]
visible = false
position = Vector2( 76, 80 )
[node name="Shard5" parent="LevelStats/FilledShards" instance=ExtResource( 11 )]
visible = false
position = Vector2( 91, 80 )
[node name="Shard6" parent="LevelStats/FilledShards" instance=ExtResource( 11 )]
visible = false
position = Vector2( 106, 80 )
[node name="Shard7" parent="LevelStats/FilledShards" instance=ExtResource( 11 )]
visible = false
position = Vector2( 121, 80 )
[node name="Shard8" parent="LevelStats/FilledShards" instance=ExtResource( 11 )]
visible = false
position = Vector2( 136, 80 )
[node name="ShardArrow" type="Sprite" parent="LevelStats"]
unique_name_in_owner = true
position = Vector2( 31, 71 )
texture = ExtResource( 14 )
offset = Vector2( 5, 0 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/RESET = SubResource( 6 )
anims/hide_stats = SubResource( 8 )
anims/show_stats = SubResource( 7 )