RAIDER_GameJam/mainmenu.tscn
Felix Kaiser 3f62e5e31d blergh
2025-02-17 16:46:19 +01:00

367 lines
11 KiB
Plaintext

[gd_scene load_steps=23 format=3 uid="uid://b6ilv8xwrl4dd"]
[ext_resource type="Script" path="res://mainmenu.gd" id="1_d4m3v"]
[ext_resource type="PackedScene" uid="uid://b578veviuyolk" path="res://player/policerobot.gltf" id="1_ri145"]
[ext_resource type="Material" uid="uid://d0uoy1ihwb4c8" path="res://level/streetmaterial.tres" id="3_6ovh2"]
[ext_resource type="Material" uid="uid://cxtxm20vm1v0y" path="res://level/housematerial.tres" id="4_5xuvc"]
[ext_resource type="Material" uid="uid://bo7p14voeendf" path="res://level/brickwall_material.tres" id="5_b1uks"]
[ext_resource type="Texture2D" uid="uid://c6x7cpyc3s57s" path="res://ui/raider title.png" id="6_pen7c"]
[ext_resource type="AudioStream" uid="uid://bquih7puk711s" path="res://ui/armorhit.ogg" id="7_h5gh4"]
[ext_resource type="AudioStream" uid="uid://nmgx57isjld3" path="res://ui/rough_sketch3.mp3" id="8_s0m18"]
[ext_resource type="FontFile" uid="uid://cxsy0lcmx4shj" path="res://ui/Kenney Pixel.ttf" id="9_c53hh"]
[ext_resource type="Texture2D" uid="uid://dq635fgef7krw" path="res://ui/raiderbutton.png" id="10_s7ynm"]
[ext_resource type="Texture2D" uid="uid://dtiygj2v6kfpw" path="res://ui/raiderbuttonpressed.png" id="11_suufq"]
[ext_resource type="LabelSettings" uid="uid://ctjkw4olkyj6p" path="res://ui/buttonsettings.tres" id="12_fau86"]
[ext_resource type="Script" path="res://ui/start_button.gd" id="12_k22ff"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_gm00t"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
[sub_resource type="Sky" id="Sky_384u7"]
sky_material = SubResource("ProceduralSkyMaterial_gm00t")
[sub_resource type="Environment" id="Environment_p2ubo"]
background_mode = 2
background_energy_multiplier = 0.6
sky = SubResource("Sky_384u7")
tonemap_mode = 2
[sub_resource type="AtlasTexture" id="AtlasTexture_yjr6p"]
atlas = ExtResource("6_pen7c")
region = Rect2(0, 0, 553.492, 180)
[sub_resource type="Animation" id="Animation_suplv"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("RaiderTitle:texture:region")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Rect2(0, 0, 553.492, 180)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("ColorRect:color")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(0, 0, 0, 1)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Label:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Label2:modulate")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Label3:modulate")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("Label4:modulate")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
[sub_resource type="Animation" id="Animation_owin3"]
resource_name = "new_animation"
length = 30.0
step = 0.1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("RaiderTitle:texture:region")
tracks/0/interp = 0
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 20.1, 20.2406, 20.3813, 20.5219, 20.6625, 20.8031, 20.9438),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1),
"update": 0,
"values": [Rect2(0, 0, 1, 180), Rect2(0, 0, 1, 180), Rect2(0, 0, 260, 180), Rect2(0, 0, 540, 180), Rect2(0, 0, 720, 180), Rect2(0, 0, 1020, 180), Rect2(0, 0, 1280, 180), Rect2(0, 0, 1555, 180)]
}
tracks/1/type = "method"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("AudioStreamPlayer")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(20.2406, 20.3813, 20.5219, 20.6625, 20.8031, 20.9438),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"values": [{
"args": [0.0],
"method": &"play"
}, {
"args": [0.0],
"method": &"play"
}, {
"args": [0.0],
"method": &"play"
}, {
"args": [0.0],
"method": &"play"
}, {
"args": [0.0],
"method": &"play"
}, {
"args": [0.0],
"method": &"play"
}]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("ColorRect:color")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 19, 20),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Color(0, 0, 0, 1), Color(0, 0, 0, 1), Color(0, 0, 0, 0)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Label:modulate")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 1, 2.155, 3.31, 4.465),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Label2:modulate")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0, 5.62, 6.775, 7.93, 9.085),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("Label3:modulate")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0, 10.24, 11.395, 12.55, 13.705),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/6/type = "value"
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/path = NodePath("Label4:modulate")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0, 14.86, 16.015, 17.17, 18.325),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_b84om"]
_data = {
"RESET": SubResource("Animation_suplv"),
"new_animation": SubResource("Animation_owin3")
}
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_apg78"]
random_pitch = 1.02
streams_count = 1
stream_0/stream = ExtResource("7_h5gh4")
[sub_resource type="LabelSettings" id="LabelSettings_ot3hc"]
font = ExtResource("9_c53hh")
font_size = 32
[node name="Node3D" type="Node3D"]
script = ExtResource("1_d4m3v")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_p2ubo")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, -0.500003, 0.749999, -0.43301, 0, 0, 0)
light_energy = 0.425
shadow_enabled = true
[node name="policerobot" parent="." instance=ExtResource("1_ri145")]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(-0.789107, -0.152262, -0.595085, 0, 0.968791, -0.24788, 0.614256, -0.195604, -0.76448, -1.54836, 0.584823, -3.46585)
[node name="CSGBox3D" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
size = Vector3(100, 1, 100)
material = ExtResource("3_6ovh2")
[node name="CSGBox3D2" type="CSGBox3D" parent="."]
transform = Transform3D(0.965926, 0, 0.258819, 0, 1, 0, -0.258819, 0, 0.965926, 16, 8.5, 6)
size = Vector3(17, 18, 17)
material = ExtResource("4_5xuvc")
[node name="CSGBox3D3" type="CSGBox3D" parent="."]
transform = Transform3D(0.965926, 0, -0.258819, 0, 1, 0, 0.258819, 0, 0.965926, 5.71037, 1, 18.2)
size = Vector3(49, 3, 1)
material = ExtResource("5_b1uks")
[node name="RaiderTitle" type="Sprite2D" parent="."]
position = Vector2(329, 158)
scale = Vector2(0.35, 0.35)
texture = SubResource("AtlasTexture_yjr6p")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_b84om")
}
autoplay = "new_animation"
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = SubResource("AudioStreamRandomizer_apg78")
volume_db = -8.0
max_polyphony = 4
bus = &"SFX"
[node name="AudioStreamPlayer2" type="AudioStreamPlayer" parent="."]
stream = ExtResource("8_s0m18")
volume_db = -10.225
autoplay = true
bus = &"MUSIC"
[node name="TextureButton" type="TextureButton" parent="."]
offset_left = 208.0
offset_top = 403.0
offset_right = 1122.0
offset_bottom = 638.0
scale = Vector2(0.25, 0.25)
texture_normal = ExtResource("10_s7ynm")
texture_pressed = ExtResource("11_suufq")
script = ExtResource("12_k22ff")
[node name="Label" type="Label" parent="TextureButton"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -162.5
offset_top = -35.0
offset_right = 162.5
offset_bottom = 35.0
grow_horizontal = 2
grow_vertical = 2
text = "Start Game"
label_settings = ExtResource("12_fau86")
[node name="ColorRect" type="ColorRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0, 0, 0, 1)
[node name="Label" type="Label" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "In the grim future of the 21st Century"
label_settings = SubResource("LabelSettings_ot3hc")
horizontal_alignment = 1
vertical_alignment = 1
[node name="Label2" type="Label" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "There is only crime"
label_settings = SubResource("LabelSettings_ot3hc")
horizontal_alignment = 1
vertical_alignment = 1
[node name="Label3" type="Label" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "That's why you've been asigned
to the rapid AI drone emergency response"
label_settings = SubResource("LabelSettings_ot3hc")
horizontal_alignment = 1
vertical_alignment = 1
[node name="Label4" type="Label" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "Or, as it is usually called..."
label_settings = SubResource("LabelSettings_ot3hc")
horizontal_alignment = 1
vertical_alignment = 1
[connection signal="pressed" from="TextureButton" to="TextureButton" method="_on_pressed"]
[editable path="policerobot"]