GAE_CA1/Assets/Kessel/kessel.tscn

243 lines
8.3 KiB
Plaintext

[gd_scene format=3 uid="uid://bxo2xul2wy35e"]
[ext_resource type="Script" uid="uid://cucnblbqfoym1" path="res://Assets/Kessel/kessel_controller.gd" id="1_18vgv"]
[ext_resource type="Texture2D" uid="uid://bvne2pgmcd2w4" path="res://Assets/Kessel/Kessel.png" id="2_18vgv"]
[ext_resource type="Texture2D" uid="uid://bx0kt1pb5eumm" path="res://Assets/items/basic_items/pictures/row-1-column-3.png" id="3_vaxp6"]
[ext_resource type="Script" uid="uid://cqruxefy1su8k" path="res://Assets/Kessel/kessel_UI.gd" id="4_t5dm7"]
[ext_resource type="Texture2D" uid="uid://c81bru2egudmb" path="res://external_assets/FREE Textures Of Light 2/light2/32x32/32x32 textures (1).png" id="5_2ccj4"]
[ext_resource type="Texture2D" uid="uid://2fyn354ywxgv" path="res://Assets/UI/small fire sprite red (1).png" id="5_udo5n"]
[ext_resource type="AudioStream" uid="uid://batcaweqvpii5" path="res://Sounds/sfx/water-splash.wav" id="7_t5dm7"]
[ext_resource type="AudioStream" uid="uid://bxstarfelyvkk" path="res://Sounds/item_erscheinen.wav" id="8_2ccj4"]
[sub_resource type="Gradient" id="Gradient_bind2"]
offsets = PackedFloat32Array(0.41996235, 1)
colors = PackedColorArray(0, 0.38039216, 1, 1, 0, 18.892157, 18.892157, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_udo5n"]
gradient = SubResource("Gradient_bind2")
[sub_resource type="Curve" id="Curve_t5dm7"]
_data = [Vector2(0.05128205, 0.22525251), 0.0, 0.0, 0, 0, Vector2(0.6153846, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.4128427), 0.0, 0.0, 0, 0]
point_count = 3
[sub_resource type="CurveTexture" id="CurveTexture_2ccj4"]
curve = SubResource("Curve_t5dm7")
[sub_resource type="Curve" id="Curve_2e5kv"]
_data = [Vector2(0, 0.7204906), 0.0, 0.0, 0, 0, Vector2(0.5333333, 0.941847), 0.0, 0.0, 0, 0, Vector2(0.9982906, 0.36594516), 0.0, 0.0, 0, 0]
point_count = 3
[sub_resource type="CurveTexture" id="CurveTexture_qi6s2"]
curve = SubResource("Curve_2e5kv")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_vrj5a"]
lifetime_randomness = 0.18
particle_flag_align_y = true
emission_shape_offset = Vector3(0, -0.68, 0)
emission_shape = 3
emission_box_extents = Vector3(10.07, 3.7, 0)
gravity = Vector3(0, -98, 0)
linear_accel_min = -61.36
linear_accel_max = -43.800003
scale_min = 0.39999998
scale_max = 2.0
scale_curve = SubResource("CurveTexture_qi6s2")
scale_over_velocity_max = 296.12
color_ramp = SubResource("GradientTexture1D_udo5n")
emission_curve = SubResource("CurveTexture_2ccj4")
hue_variation_min = -0.15000002
hue_variation_max = -0.13000003
turbulence_enabled = true
turbulence_noise_strength = 19.71
turbulence_noise_scale = 4.346
turbulence_noise_speed_random = 2.77
turbulence_influence_min = 0.0
turbulence_influence_max = 0.261
[sub_resource type="RectangleShape2D" id="RectangleShape2D_e35lh"]
size = Vector2(30, 16)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_034t4"]
size = Vector2(34, 32)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_udo5n"]
bg_color = Color(0, 0, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_t5dm7"]
bg_color = Color(0.5705746, 0.97410595, 1.0306003, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2ccj4"]
bg_color = Color(0, 0, 0, 1)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vaxp6"]
bg_color = Color(1, 0, 0, 1)
corner_radius_top_left = 47
corner_radius_top_right = 47
corner_radius_bottom_right = 47
corner_radius_bottom_left = 46
[sub_resource type="AtlasTexture" id="AtlasTexture_2ccj4"]
atlas = ExtResource("5_udo5n")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_2e5kv"]
atlas = ExtResource("5_udo5n")
region = Rect2(0, 32, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_qi6s2"]
atlas = ExtResource("5_udo5n")
region = Rect2(0, 64, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_vrj5a"]
atlas = ExtResource("5_udo5n")
region = Rect2(0, 96, 32, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_q33ql"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_2ccj4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2e5kv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qi6s2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vrj5a")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="Kessel" type="StaticBody2D" unique_id=662841316 node_paths=PackedStringArray("ui_elemnte", "item_input_sound")]
script = ExtResource("1_18vgv")
ui_elemnte = NodePath("UI_elemnte")
item_input_sound = NodePath("item_input_sound")
[node name="kessel_brew" type="GPUParticles2D" parent="." unique_id=2143106193]
z_index = 3
position = Vector2(0, -13)
amount = 35
amount_ratio = 0.507
preprocess = 1.28
randomness = 0.36
local_coords = true
process_material = SubResource("ParticleProcessMaterial_vrj5a")
[node name="PointLight2D" type="PointLight2D" parent="." unique_id=2077359655]
position = Vector2(0, -18)
scale = Vector2(2.15625, 0.625)
color = Color(0.26666668, 0.90588236, 1, 1)
energy = 0.75
texture = ExtResource("5_2ccj4")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1037188859]
y_sort_enabled = true
texture_filter = 1
texture = ExtResource("2_18vgv")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1522457059]
visible = false
position = Vector2(0, 7)
shape = SubResource("RectangleShape2D_e35lh")
[node name="InteractionArea" type="Area2D" parent="." unique_id=1604898088 groups=["interactebel"]]
visible = false
position = Vector2(-44, -48)
[node name="CollisionShape2D" type="CollisionShape2D" parent="InteractionArea" unique_id=1946074901]
position = Vector2(44, 48)
shape = SubResource("RectangleShape2D_034t4")
debug_color = Color(0.81429815, 0.0020189888, 0.9793169, 0.41960785)
[node name="UI_elemnte" type="Control" parent="." unique_id=1552878172 node_paths=PackedStringArray("hitze_bar", "brew_progess", "brew_container")]
layout_mode = 3
anchors_preset = 0
offset_top = -30.0
offset_bottom = -30.0
script = ExtResource("4_t5dm7")
hitze_bar = NodePath("HitzeBar")
brew_progess = NodePath("Brew_Container/brew_progess")
brew_container = NodePath("Brew_Container")
[node name="Brew_Container" type="HBoxContainer" parent="UI_elemnte" unique_id=703947760]
z_index = 16
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 0
[node name="TextureRect" type="TextureRect" parent="UI_elemnte/Brew_Container" unique_id=1256820757]
custom_minimum_size = Vector2(11.96, 14)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("3_vaxp6")
expand_mode = 1
[node name="brew_progess" type="ProgressBar" parent="UI_elemnte/Brew_Container" unique_id=1759432536]
custom_minimum_size = Vector2(3, 14)
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
theme_override_styles/background = SubResource("StyleBoxFlat_udo5n")
theme_override_styles/fill = SubResource("StyleBoxFlat_t5dm7")
value = 50.0
fill_mode = 3
show_percentage = false
[node name="HitzeBar" type="ProgressBar" parent="UI_elemnte" unique_id=1090145932]
z_index = 5
z_as_relative = false
custom_minimum_size = Vector2(23.13, 3.26)
layout_mode = 1
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -10.0
offset_top = 8.999999
offset_right = 13.129999
offset_bottom = 12.259999
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 1
theme_override_styles/background = SubResource("StyleBoxFlat_2ccj4")
theme_override_styles/fill = SubResource("StyleBoxFlat_vaxp6")
value = 100.0
show_percentage = false
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="UI_elemnte/HitzeBar" unique_id=760319208]
z_index = 11
position = Vector2(-4, 2)
scale = Vector2(0.28125, 0.28125)
sprite_frames = SubResource("SpriteFrames_q33ql")
autoplay = "default"
frame_progress = 0.7914785
[node name="BrewTimer" type="Timer" parent="." unique_id=48359226]
one_shot = true
[node name="item_input_sound" type="AudioStreamPlayer" parent="." unique_id=416473306]
stream = ExtResource("7_t5dm7")
volume_db = -24.324
pitch_scale = 1.42
bus = &"Soundeffekts"
[node name="potion_done_sound" type="AudioStreamPlayer" parent="." unique_id=1590588369]
stream = ExtResource("8_2ccj4")
volume_db = -18.397
pitch_scale = 1.37
bus = &"Soundeffekts"