abgabe inhalt
|
|
@ -0,0 +1,6 @@
|
||||||
|
class_name BerryBush extends StaticBody2D
|
||||||
|
|
||||||
|
@export var fruit_name:String
|
||||||
|
|
||||||
|
func get_fruit_name()->String:
|
||||||
|
return fruit_name
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://c0t6u6ayqde0e
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
[gd_scene format=3 uid="uid://b3dx2cl0osy6o"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://dqhfjl4gljpxt" path="res://Assets/items/pick_up_area.gd" id="1_nf4vb"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://c0lp0ai68ma54" path="res://Assets/BerryBush/slimeFuit.png" id="2_nf4vb"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://f6tbqxckvwxa" path="res://Sounds/fruit_puck_up.wav" id="3_t7qdr"]
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6e45b"]
|
||||||
|
size = Vector2(20.689651, 15.517229)
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_u3q7a"]
|
||||||
|
size = Vector2(18.965513, 18.965513)
|
||||||
|
|
||||||
|
[node name="Berry_bush" type="StaticBody2D" unique_id=1338590644 node_paths=PackedStringArray("audio_stream_player")]
|
||||||
|
y_sort_enabled = true
|
||||||
|
scale = Vector2(1.16, 1.16)
|
||||||
|
script = ExtResource("1_nf4vb")
|
||||||
|
audio_stream_player = NodePath("AudioStreamPlayer")
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=711151821]
|
||||||
|
y_sort_enabled = true
|
||||||
|
texture_filter = 1
|
||||||
|
texture = ExtResource("2_nf4vb")
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1538359212]
|
||||||
|
position = Vector2(-2.0553331e-07, 6.03448)
|
||||||
|
scale = Vector2(1.0000004, 1.0000004)
|
||||||
|
shape = SubResource("RectangleShape2D_6e45b")
|
||||||
|
|
||||||
|
[node name="InteractionArea" type="Area2D" parent="." unique_id=419582290 groups=["interactebel"]]
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="InteractionArea" unique_id=803416314]
|
||||||
|
position = Vector2(1.0276668e-07, 6.0344887)
|
||||||
|
scale = Vector2(1.0000004, 1.0000004)
|
||||||
|
shape = SubResource("RectangleShape2D_u3q7a")
|
||||||
|
debug_color = Color(0.81429815, 0.0020189888, 0.9793169, 0.41960785)
|
||||||
|
|
||||||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=631602080]
|
||||||
|
stream = ExtResource("3_t7qdr")
|
||||||
|
bus = &"UI_Soundeffekts"
|
||||||
|
After Width: | Height: | Size: 857 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c0lp0ai68ma54"
|
||||||
|
path="res://.godot/imported/slimeFuit.png-0234235e36380a2ddd94c5108a525740.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/BerryBush/slimeFuit.png"
|
||||||
|
dest_files=["res://.godot/imported/slimeFuit.png-0234235e36380a2ddd94c5108a525740.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 911 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cl2bsl7l7s7mb"
|
||||||
|
path="res://.godot/imported/slimeFuitApple.png-f597a77f162c9ede2fd6d18e5b1dc4bb.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/BerryBush/slimeFuitApple.png"
|
||||||
|
dest_files=["res://.godot/imported/slimeFuitApple.png-f597a77f162c9ede2fd6d18e5b1dc4bb.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 902 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ds2pht2a5rpid"
|
||||||
|
path="res://.godot/imported/slimeFuitLemon.png-28b64c28528c88b851764d1292357e16.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/BerryBush/slimeFuitLemon.png"
|
||||||
|
dest_files=["res://.godot/imported/slimeFuitLemon.png-28b64c28528c88b851764d1292357e16.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 924 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bvmirhx8h2rd0"
|
||||||
|
path="res://.godot/imported/slimeFuitPeach.png-13a4958bc4ca2046ae853c1f7ffaf5ca.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/BerryBush/slimeFuitPeach.png"
|
||||||
|
dest_files=["res://.godot/imported/slimeFuitPeach.png-13a4958bc4ca2046ae853c1f7ffaf5ca.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 464 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bvne2pgmcd2w4"
|
||||||
|
path="res://.godot/imported/Kessel.png-61216c0535fe3736f947cf52f7bd7392.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Kessel/Kessel.png"
|
||||||
|
dest_files=["res://.godot/imported/Kessel.png-61216c0535fe3736f947cf52f7bd7392.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
|
@ -0,0 +1,242 @@
|
||||||
|
[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"
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
class_name Kessel_UI extends Control
|
||||||
|
|
||||||
|
|
||||||
|
@export var hitze_bar: ProgressBar
|
||||||
|
@export var brew_progess: ProgressBar
|
||||||
|
@export var brew_container: HBoxContainer
|
||||||
|
|
||||||
|
# wann sollen beide starten - beim brew prozess vl wie bei overcodded anfangen wenn eine
|
||||||
|
# Zutat drin ist
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
hitze_bar.value = 0
|
||||||
|
brew_container.hide()
|
||||||
|
|
||||||
|
func set_fuel_bar(value:float)->void:
|
||||||
|
|
||||||
|
if hitze_bar.value == 0:
|
||||||
|
hitze_bar.value = value * 2
|
||||||
|
|
||||||
|
hitze_bar.value = value
|
||||||
|
|
||||||
|
func set_brew_bar(value:float)->void:
|
||||||
|
brew_progess.value = value
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://cqruxefy1su8k
|
||||||
|
|
@ -0,0 +1,136 @@
|
||||||
|
class_name Kessel extends StaticBody2D
|
||||||
|
|
||||||
|
@export var ui_elemnte: Kessel_UI
|
||||||
|
|
||||||
|
var potion_ingerdiants:Array[String]
|
||||||
|
var fuel_level:float = 60
|
||||||
|
var brew_progress:float = 0.0
|
||||||
|
var overheat_timer: float = 0.0
|
||||||
|
|
||||||
|
@export var item_input_sound: AudioStreamPlayer
|
||||||
|
|
||||||
|
# Einstellungen
|
||||||
|
@export_subgroup("Einstellungen Kessel")
|
||||||
|
@export var fuel_burn_rate: float = 1.0 # Wie schnell das Feuer ausgeht (pro Sekunde)
|
||||||
|
@export var brew_speed: float = 10.0 # Wie schnell die Potion fertig wird
|
||||||
|
@export var max_overheat_time: float = 5.0 # 5 Sekunden Zeit zu reagieren
|
||||||
|
@export var max_fuel_level:int = 100
|
||||||
|
|
||||||
|
#Flags
|
||||||
|
var has_fuel:bool = false
|
||||||
|
var is_brewing:bool = false
|
||||||
|
|
||||||
|
signal potion_done(list:Array[String])
|
||||||
|
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
if has_fuel:
|
||||||
|
handle_fuel(delta)
|
||||||
|
|
||||||
|
if is_brewing:
|
||||||
|
handle_brewing(delta)
|
||||||
|
|
||||||
|
## Funktion passiert wenn der spieler etwas in den topf wierft
|
||||||
|
# muss den brew progress zurückstezten , neu starten wenn was neues dazu kommt
|
||||||
|
func add_item(item:Item)->void:
|
||||||
|
|
||||||
|
# is es das erste , ingredient dann zeige icon und starte timer / wenn was drin ist starte timer neu
|
||||||
|
if item.item_type == Item.TYPE.INGREDIENT:
|
||||||
|
potion_ingerdiants.append(item.name)
|
||||||
|
new_ingrediant()
|
||||||
|
item_input_sound.play()
|
||||||
|
|
||||||
|
elif item.name == "Wood":
|
||||||
|
add_fuell()
|
||||||
|
ui_elemnte.hitze_bar.show()
|
||||||
|
# wenn die bar noch net aktiviert ist aktiviere sie
|
||||||
|
|
||||||
|
else:
|
||||||
|
print("Spiler hat nichts in der Hand was wichtig ist ")
|
||||||
|
return
|
||||||
|
|
||||||
|
## wenn ein Ingredient hinzugefügt wird
|
||||||
|
func new_ingrediant()->void:
|
||||||
|
# erstes ingrediant für die portion
|
||||||
|
if potion_ingerdiants.size() == 1:
|
||||||
|
ui_elemnte.brew_container.show()
|
||||||
|
# starte brew timer
|
||||||
|
is_brewing = true
|
||||||
|
|
||||||
|
# hier vl speilen das je mehr zutaen drin sindd er brew timer etwas rurück geht je mehr desto mehr
|
||||||
|
brew_progress -= 10.0
|
||||||
|
fuel_level -= 5.0
|
||||||
|
|
||||||
|
func handle_brewing(delta:float)->void:
|
||||||
|
# 1. Berechne wie effizient die Hitze gerade ist
|
||||||
|
if !ui_elemnte.brew_progess.is_visible_in_tree():
|
||||||
|
ui_elemnte.brew_progess.show()
|
||||||
|
|
||||||
|
|
||||||
|
var heat_efficiency: float = 0.0
|
||||||
|
|
||||||
|
if fuel_level < 25:
|
||||||
|
heat_efficiency = 0.0 # Zu kalt
|
||||||
|
elif fuel_level <= 80:
|
||||||
|
heat_efficiency = 1.0 # Perfekt
|
||||||
|
else:
|
||||||
|
heat_efficiency = 1.8 # Turbo-Brauen, aber gefährlich!
|
||||||
|
|
||||||
|
# 2. Wende die Effizienz auf den Fortschritt an
|
||||||
|
# Wenn heat_efficiency 0 ist, bleibt der Balken einfach stehen
|
||||||
|
brew_progress += brew_speed * heat_efficiency * delta
|
||||||
|
|
||||||
|
# UI Update
|
||||||
|
ui_elemnte.set_brew_bar(brew_progress)
|
||||||
|
|
||||||
|
# Check ob fertig
|
||||||
|
if brew_progress >= 100:
|
||||||
|
finish_potion()
|
||||||
|
|
||||||
|
func finish_potion()->void:
|
||||||
|
is_brewing = false
|
||||||
|
ui_elemnte.brew_progess.hide()
|
||||||
|
potion_done.emit(potion_ingerdiants)
|
||||||
|
brew_progress = 0.0
|
||||||
|
$potion_done_sound.play()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# vl noch coole animation abspeilen das die potion fertig ist zb idk
|
||||||
|
|
||||||
|
## Kessel Fuel Logik
|
||||||
|
func handle_fuel(time:float)->void:
|
||||||
|
# Passiver Brennstoffverbrauch
|
||||||
|
fuel_level = clamp(fuel_level, 0, 100)
|
||||||
|
fuel_level -= fuel_burn_rate*time
|
||||||
|
|
||||||
|
# UI Update
|
||||||
|
ui_elemnte.set_fuel_bar(fuel_level)
|
||||||
|
|
||||||
|
# Überhitzung prüfen
|
||||||
|
if fuel_level >= 95.0:
|
||||||
|
overheat_timer += time
|
||||||
|
# Hier könnte man den Kessel rot blinken lassen
|
||||||
|
|
||||||
|
if overheat_timer >= max_overheat_time:
|
||||||
|
explode_kessel()
|
||||||
|
else:
|
||||||
|
overheat_timer = 0.0
|
||||||
|
|
||||||
|
func explode_kessel()->void:
|
||||||
|
pass
|
||||||
|
|
||||||
|
## funktion die Getriggert wurd wenn Holz rin kommt - verbindung mit Hitze
|
||||||
|
func add_fuell()->void:
|
||||||
|
if fuel_level < max_fuel_level:
|
||||||
|
fuel_level += 15
|
||||||
|
has_fuel = true
|
||||||
|
|
||||||
|
|
||||||
|
func has_potion()->bool:
|
||||||
|
if not is_brewing and potion_ingerdiants.size() >= 1:
|
||||||
|
potion_ingerdiants = []
|
||||||
|
return true
|
||||||
|
return false
|
||||||
|
|
||||||
|
func hide_kessel_ui()->void:
|
||||||
|
ui_elemnte.brew_container.hide()
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://cucnblbqfoym1
|
||||||
|
After Width: | Height: | Size: 183 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dv8unnd52p6xi"
|
||||||
|
path="res://.godot/imported/NPC_Icon1.png-574a9e8552dbf502d2e53f37299d2709.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/NPC/NPC_Icon1.png"
|
||||||
|
dest_files=["res://.godot/imported/NPC_Icon1.png-574a9e8552dbf502d2e53f37299d2709.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
|
@ -0,0 +1,793 @@
|
||||||
|
[gd_scene format=3 uid="uid://b1cv4fh26lwtg"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://drk7lh41mpcu2" path="res://external_assets/Cute_Fantasy/NPCs (Premade)/Bartender_Bruno.png" id="1_el067"]
|
||||||
|
[ext_resource type="Script" uid="uid://dyoqeu7ymcqgd" path="res://Assets/NPC/npc_controller.gd" id="1_s82w1"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bh0gdq6km2vvp" path="res://external_assets/Cute_Fantasy/NPCs (Premade)/Bartender_Katy.png" id="2_xy4y1"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dqrdx53ld3t3b" path="res://external_assets/Cute_Fantasy/NPCs (Premade)/Farmer_Bob.png" id="3_s82w1"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://rx8jpqno0i6t" path="res://external_assets/Cute_Fantasy/NPCs (Premade)/Fisherman_Fin.png" id="4_n8mos"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://ctqr127cixcik" path="res://external_assets/Cute_Fantasy/NPCs (Premade)/Miner_Mike.png" id="5_dn6gi"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://b20h442ed821e" path="res://Sounds/sfx/Angry_Growl_new.wav" id="7_n8mos"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://do75xo20spdoa" path="res://Sounds/sfx/yuhu_soun.wav" id="8_l1y1o"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://bl3jgxkcqiwln" path="res://Sounds/sfx/shop-door-bell.wav" id="9_jm22w"]
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ycdhy"]
|
||||||
|
radius = 7.0
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ltg27"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(0, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xxcss"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(64, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mofj6"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(128, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_cembo"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(192, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_yckg2"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(256, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2u6ct"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(320, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_l1y1o"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(0, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jm22w"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(64, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_82epq"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(128, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5mjv1"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(192, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ikwkn"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(256, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ikrwa"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(320, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_em072"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(0, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vf8kt"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(64, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_c5vjo"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(128, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_irsj2"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(192, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vgc7y"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(256, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_g1vhn"]
|
||||||
|
atlas = ExtResource("2_xy4y1")
|
||||||
|
region = Rect2(320, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ltg27"]
|
||||||
|
animations = [{
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_ltg27")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_xxcss")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_mofj6")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_cembo")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_yckg2")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_2u6ct")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"idle",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_l1y1o")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_jm22w")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_82epq")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_5mjv1")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_ikwkn")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_ikrwa")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"run",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_em072")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_vf8kt")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_c5vjo")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_irsj2")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_vgc7y")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_g1vhn")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"walk_back",
|
||||||
|
"speed": 5.0
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_sqctx"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(0, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_cvfpx"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(64, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ibydg"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(128, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_b0e1t"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(192, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7us6t"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(256, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mkkmw"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(320, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_m0hnt"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(0, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wwgin"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(64, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xy4y1"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(128, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_s82w1"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(192, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_n8mos"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(256, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_dn6gi"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(320, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_txen5"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(0, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_r0mt8"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(64, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_cms8j"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(128, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_crx2x"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(192, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qhu40"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(256, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8cqyo"]
|
||||||
|
atlas = ExtResource("1_el067")
|
||||||
|
region = Rect2(320, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_l1y1o"]
|
||||||
|
animations = [{
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_sqctx")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_cvfpx")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_ibydg")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_b0e1t")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_7us6t")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_mkkmw")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"idle",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_m0hnt")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_wwgin")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_xy4y1")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_s82w1")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_n8mos")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_dn6gi")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"run",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_txen5")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_r0mt8")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_cms8j")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_crx2x")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_qhu40")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_8cqyo")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"walk_back",
|
||||||
|
"speed": 5.0
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nquga"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(0, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_newc8"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(64, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7o413"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(128, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mdqd0"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(192, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lvajv"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(256, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_it3o8"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(320, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_bos8l"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(0, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4b526"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(64, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hured"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(128, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0nsm4"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(192, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uwtl2"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(256, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qgrw2"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(320, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_p62yf"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(0, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7gw7i"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(64, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2q6aq"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(128, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_btkmt"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(192, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_t0d8f"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(256, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ft0i0"]
|
||||||
|
atlas = ExtResource("3_s82w1")
|
||||||
|
region = Rect2(320, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_xxcss"]
|
||||||
|
animations = [{
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_nquga")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_newc8")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_7o413")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_mdqd0")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_lvajv")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_it3o8")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"idle",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_bos8l")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_4b526")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_hured")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_0nsm4")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_uwtl2")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_qgrw2")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"run",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_p62yf")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_7gw7i")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_2q6aq")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_btkmt")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_t0d8f")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_ft0i0")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"walk_back",
|
||||||
|
"speed": 5.0
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xmavk"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(0, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_b1hiw"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(64, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_urveh"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(128, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xi0va"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(192, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qjajc"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(256, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ytd1w"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(320, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_cl7jd"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(0, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_yuchd"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(64, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gg5su"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(128, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_sn8hq"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(192, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_t1tns"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(256, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2bndi"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(320, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_n8a0h"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(0, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6dolm"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(64, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_smf7p"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(128, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qqhmn"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(192, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_if6kq"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(256, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_c2wvh"]
|
||||||
|
atlas = ExtResource("4_n8mos")
|
||||||
|
region = Rect2(320, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_mofj6"]
|
||||||
|
animations = [{
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_xmavk")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_b1hiw")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_urveh")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_xi0va")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_qjajc")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_ytd1w")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"idle",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_cl7jd")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_yuchd")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_gg5su")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_sn8hq")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_t1tns")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_2bndi")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"run",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_n8a0h")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_6dolm")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_smf7p")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_qqhmn")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_if6kq")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_c2wvh")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"walk_back",
|
||||||
|
"speed": 5.0
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_l6epf"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(0, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2g65u"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(64, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_dlx04"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(128, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jbhn4"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(192, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uhxgx"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(256, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1told"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(320, 128, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0prdp"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(0, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ecbgi"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(64, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_cguew"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(128, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jr1p2"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(192, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_g88c5"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(256, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_i8ibb"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(320, 320, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_c85ti"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(0, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_c36w0"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(64, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_r6fyi"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(128, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kwfmm"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(192, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gcf2q"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(256, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fyo8q"]
|
||||||
|
atlas = ExtResource("5_dn6gi")
|
||||||
|
region = Rect2(320, 192, 64, 64)
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_cembo"]
|
||||||
|
animations = [{
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_l6epf")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_2g65u")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_dlx04")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_jbhn4")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_uhxgx")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_1told")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"idle",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_0prdp")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_ecbgi")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_cguew")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_jr1p2")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_g88c5")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_i8ibb")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"run",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_c85ti")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_c36w0")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_r6fyi")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_kwfmm")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_gcf2q")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_fyo8q")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"walk_back",
|
||||||
|
"speed": 5.0
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_l1y1o"]
|
||||||
|
particle_flag_disable_z = true
|
||||||
|
gravity = Vector3(0, 98, 0)
|
||||||
|
|
||||||
|
[node name="NPC" type="CharacterBody2D" unique_id=109178904 node_paths=PackedStringArray("visuals", "angry_noise", "happy_noise", "shop_entert_sound")]
|
||||||
|
script = ExtResource("1_s82w1")
|
||||||
|
visuals = NodePath("Visuals")
|
||||||
|
angry_noise = NodePath("Angry_noise")
|
||||||
|
happy_noise = NodePath("happy_noise")
|
||||||
|
shop_entert_sound = NodePath("shop_entert_sound")
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=786699800]
|
||||||
|
shape = SubResource("CircleShape2D_ycdhy")
|
||||||
|
|
||||||
|
[node name="Visuals" type="Node2D" parent="." unique_id=761141061]
|
||||||
|
|
||||||
|
[node name="1" type="AnimatedSprite2D" parent="Visuals" unique_id=349215224]
|
||||||
|
visible = false
|
||||||
|
sprite_frames = SubResource("SpriteFrames_ltg27")
|
||||||
|
animation = &"walk_back"
|
||||||
|
|
||||||
|
[node name="2" type="AnimatedSprite2D" parent="Visuals" unique_id=777046568]
|
||||||
|
visible = false
|
||||||
|
sprite_frames = SubResource("SpriteFrames_l1y1o")
|
||||||
|
animation = &"walk_back"
|
||||||
|
|
||||||
|
[node name="3" type="AnimatedSprite2D" parent="Visuals" unique_id=1970243654]
|
||||||
|
visible = false
|
||||||
|
sprite_frames = SubResource("SpriteFrames_xxcss")
|
||||||
|
animation = &"walk_back"
|
||||||
|
|
||||||
|
[node name="4" type="AnimatedSprite2D" parent="Visuals" unique_id=327739965]
|
||||||
|
visible = false
|
||||||
|
sprite_frames = SubResource("SpriteFrames_mofj6")
|
||||||
|
animation = &"idle"
|
||||||
|
|
||||||
|
[node name="5" type="AnimatedSprite2D" parent="Visuals" unique_id=755775106]
|
||||||
|
visible = false
|
||||||
|
sprite_frames = SubResource("SpriteFrames_cembo")
|
||||||
|
animation = &"run"
|
||||||
|
frame_progress = 0.86537015
|
||||||
|
|
||||||
|
[node name="Angry_noise" type="AudioStreamPlayer" parent="." unique_id=295761705]
|
||||||
|
stream = ExtResource("7_n8mos")
|
||||||
|
pitch_scale = 1.49
|
||||||
|
|
||||||
|
[node name="happy_noise" type="AudioStreamPlayer" parent="." unique_id=1837724842]
|
||||||
|
stream = ExtResource("8_l1y1o")
|
||||||
|
pitch_scale = 1.47
|
||||||
|
|
||||||
|
[node name="shop_entert_sound" type="AudioStreamPlayer" parent="." unique_id=1254138156]
|
||||||
|
stream = ExtResource("9_jm22w")
|
||||||
|
volume_db = -10.0
|
||||||
|
pitch_scale = 1.34
|
||||||
|
|
||||||
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="." unique_id=1754463368]
|
||||||
|
visible = false
|
||||||
|
process_material = SubResource("ParticleProcessMaterial_l1y1o")
|
||||||
|
|
@ -0,0 +1,59 @@
|
||||||
|
class_name NPC extends CharacterBody2D
|
||||||
|
|
||||||
|
@export var visuals: Node2D
|
||||||
|
|
||||||
|
var target_pos
|
||||||
|
signal npc_left
|
||||||
|
|
||||||
|
signal ready_to_order
|
||||||
|
|
||||||
|
var seleced_visual:AnimatedSprite2D
|
||||||
|
var active_order:Array[String]
|
||||||
|
|
||||||
|
# Audio
|
||||||
|
@export var angry_noise: AudioStreamPlayer
|
||||||
|
@export var happy_noise: AudioStreamPlayer
|
||||||
|
@export var shop_entert_sound: AudioStreamPlayer
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
selced_a_customer()
|
||||||
|
var theke = get_tree().get_first_node_in_group("theke")
|
||||||
|
if theke is Theke:
|
||||||
|
theke.register_customer(self)
|
||||||
|
|
||||||
|
func selced_a_customer()->void:
|
||||||
|
seleced_visual = visuals.get_children().pick_random()
|
||||||
|
seleced_visual.visible = true
|
||||||
|
seleced_visual.play("run")
|
||||||
|
|
||||||
|
func set_target_pos(target:Vector2)->void:
|
||||||
|
target_pos = target
|
||||||
|
|
||||||
|
func walk()->void:
|
||||||
|
var tween = create_tween()
|
||||||
|
tween.tween_property(self, "position", target_pos, 1.5)
|
||||||
|
await tween.finished
|
||||||
|
## hier wäre der Spiler an der Theke
|
||||||
|
|
||||||
|
var theke:Theke = get_tree().get_first_node_in_group("theke")
|
||||||
|
theke.register_customer(self)
|
||||||
|
|
||||||
|
print(" NPC ready to tke order")
|
||||||
|
seleced_visual.play("idle")
|
||||||
|
## icon für oder aktiviren
|
||||||
|
|
||||||
|
# löschen des npc über die theke
|
||||||
|
func walk_back() ->void:
|
||||||
|
seleced_visual.play("walk_back")
|
||||||
|
|
||||||
|
var tween = create_tween()
|
||||||
|
tween.tween_property(self, "position", Vector2.ZERO, 1.5)
|
||||||
|
await tween.finished
|
||||||
|
npc_left.emit()
|
||||||
|
self.queue_free()
|
||||||
|
|
||||||
|
# kann hier NPC ICON für bestllung anzeigen -
|
||||||
|
|
||||||
|
|
||||||
|
func generet_potion_order(size:int)->void:
|
||||||
|
active_order = OrderGenerator.generete_uniqe_order(size)
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://dyoqeu7ymcqgd
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
class_name NPC_Spawner extends Marker2D
|
||||||
|
|
||||||
|
@export var npc_scene:PackedScene
|
||||||
|
@export var target_pos:Node2D
|
||||||
|
|
||||||
|
|
||||||
|
## erstelle einen NPC und lasse ihn mit walk zur Theke laufen
|
||||||
|
func spawn_npc(setings:RoundSettings)-> NPC:
|
||||||
|
var new_customer:NPC = npc_scene.instantiate()
|
||||||
|
new_customer.generet_potion_order(setings.order_size)
|
||||||
|
new_customer.set_target_pos(target_pos.position)
|
||||||
|
self.add_child(new_customer)
|
||||||
|
|
||||||
|
return new_customer
|
||||||
|
|
||||||
|
|
||||||
|
func genereat_order()->void:
|
||||||
|
pass
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://chfft62kgpwv2
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
extends Node
|
||||||
|
|
||||||
|
|
||||||
|
## Span customer methode
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://byl8phqq474wb
|
||||||
|
|
@ -0,0 +1,104 @@
|
||||||
|
class_name PhaseManager extends Node
|
||||||
|
@export var prep_phase: PrepPhase
|
||||||
|
@export var npc_spwaner: NPC_Spawner
|
||||||
|
@export var max_round_count:int = 8
|
||||||
|
@export var mornig_sound: AudioStreamPlayer
|
||||||
|
|
||||||
|
var round_number: int = 1
|
||||||
|
var active_customer:NPC
|
||||||
|
|
||||||
|
signal new_round_start_up(customer_count:int)
|
||||||
|
signal day_changed(count:int)
|
||||||
|
signal shop_opens
|
||||||
|
|
||||||
|
signal start_round_change()
|
||||||
|
signal start_new_round
|
||||||
|
|
||||||
|
signal end_game
|
||||||
|
|
||||||
|
|
||||||
|
func prepare_round() -> RoundSettings:
|
||||||
|
var settings = RoundSettings.new()
|
||||||
|
# aktuell sehr trausrige game progression
|
||||||
|
if round_number == 1:
|
||||||
|
settings.customer_count = 3
|
||||||
|
settings.order_size = 3
|
||||||
|
settings.time_limit = 30.00
|
||||||
|
|
||||||
|
elif round_number == 2:
|
||||||
|
settings.customer_count = 4
|
||||||
|
settings.order_size = randi_range(3,4)
|
||||||
|
|
||||||
|
settings.time_limit = 30.00
|
||||||
|
|
||||||
|
elif round_number == 3:
|
||||||
|
settings.customer_count = 5
|
||||||
|
settings.order_size = randi_range(4,5)
|
||||||
|
|
||||||
|
settings.time_limit = 30.00
|
||||||
|
|
||||||
|
elif round_number == 4:
|
||||||
|
settings.customer_count = 5
|
||||||
|
settings.order_size = randi_range(4,6)
|
||||||
|
|
||||||
|
settings.time_limit = 30.00
|
||||||
|
|
||||||
|
else:
|
||||||
|
settings.customer_count = 5
|
||||||
|
settings.order_size = randi_range(4,6)
|
||||||
|
|
||||||
|
settings.time_limit = 30.00
|
||||||
|
|
||||||
|
return settings
|
||||||
|
|
||||||
|
# varaibeln - wie viel customer spawnwn sollen
|
||||||
|
func start_round()->void:
|
||||||
|
|
||||||
|
for i in range(max_round_count):
|
||||||
|
|
||||||
|
var round_settings:RoundSettings = prepare_round()
|
||||||
|
new_round_start_up.emit(round_settings.customer_count)
|
||||||
|
print("Warm-up startet...")
|
||||||
|
mornig_sound.play()
|
||||||
|
day_changed.emit(round_number)
|
||||||
|
await warm_up()
|
||||||
|
print("Warm-up endet - Shop öffnet ")
|
||||||
|
# shop opens logic
|
||||||
|
shop_opens.emit()
|
||||||
|
|
||||||
|
await run_rush_phase(round_settings)
|
||||||
|
print("Runde ", round_number, " beendet.")
|
||||||
|
start_round_change.emit()
|
||||||
|
await start_new_round
|
||||||
|
round_number += 1
|
||||||
|
|
||||||
|
end_game.emit()
|
||||||
|
|
||||||
|
## ausgewählt wenn man das spiel das erste mal startet
|
||||||
|
func start_tutorial()->void:
|
||||||
|
pass
|
||||||
|
|
||||||
|
func run_prep_phase()->void:
|
||||||
|
pass
|
||||||
|
|
||||||
|
func warm_up()->void:
|
||||||
|
await get_tree().create_timer(2.0).timeout # je nach dem wie lange ich es mache
|
||||||
|
|
||||||
|
func run_rush_phase(settings:RoundSettings)->void:
|
||||||
|
|
||||||
|
print("This round NPC are:"+ str(settings.customer_count))
|
||||||
|
|
||||||
|
for i in range(settings.customer_count):
|
||||||
|
print("Spawnd customer")
|
||||||
|
active_customer = npc_spwaner.spawn_npc(settings)
|
||||||
|
active_customer.walk()
|
||||||
|
active_customer.shop_entert_sound.play()
|
||||||
|
await active_customer.npc_left
|
||||||
|
print("NPC left")
|
||||||
|
# hier kann man dann das neue taget machen oder zb eine ander metheode
|
||||||
|
await get_tree().create_timer(1.5).timeout
|
||||||
|
|
||||||
|
# wenn jetzt ein sknal kommt soll weiter gemacht werden
|
||||||
|
|
||||||
|
func day_result_phase()->void:
|
||||||
|
pass
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://c7ngdq4gfd2pk
|
||||||
|
|
@ -0,0 +1,30 @@
|
||||||
|
class_name PrepPhase extends Node
|
||||||
|
|
||||||
|
|
||||||
|
@export var buff_list :Array[Buffs]
|
||||||
|
@export var debuff_list :Array[Buffs]
|
||||||
|
|
||||||
|
#TODO: Reine resurce erstelllen Buff und dann eine rayy mit möglichern sachen machen
|
||||||
|
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# hier wählt er buffs und debuffs für die runde zum auswähelen wird dann an die UI weitergegbn
|
||||||
|
func set_up_buff_and_debuffs()-> Array:
|
||||||
|
|
||||||
|
var selected_buffs_for_round = []
|
||||||
|
for i in range(3):
|
||||||
|
var buff_debuf_pair_list:Array[Buffs]
|
||||||
|
var selected_buff:Buffs = buff_list.pick_random()
|
||||||
|
|
||||||
|
var selected_debuff:Buffs = debuff_list.pick_random()
|
||||||
|
|
||||||
|
while selected_debuff.effekt_type == selected_buff.effekt_type:
|
||||||
|
selected_debuff = debuff_list.pick_random()
|
||||||
|
|
||||||
|
buff_debuf_pair_list = [selected_buff,selected_debuff]
|
||||||
|
selected_buffs_for_round.append(buff_debuf_pair_list)
|
||||||
|
|
||||||
|
return selected_buffs_for_round
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://hkx64uf1wlkm
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
extends Node
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
pass
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://do4x6pw1lc13p
|
||||||
|
|
@ -0,0 +1,102 @@
|
||||||
|
[gd_scene format=3 uid="uid://bywkcjwvemubi"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://c7ngdq4gfd2pk" path="res://Assets/Phase_Manager/phase_logic/phase_manager.gd" id="1_kcpjb"]
|
||||||
|
[ext_resource type="Script" uid="uid://hkx64uf1wlkm" path="res://Assets/Phase_Manager/phase_logic/prep_phase.gd" id="2_7hi7s"]
|
||||||
|
[ext_resource type="Script" uid="uid://d0bnimy5jui4s" path="res://Resurcses/classes/buffs.gd" id="3_7hi7s"]
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_r8bbp"]
|
||||||
|
script = ExtResource("3_7hi7s")
|
||||||
|
effekt_type = 1
|
||||||
|
name = "Slow Heat"
|
||||||
|
effekt_value = 20.0
|
||||||
|
metadata/_custom_type_script = "uid://d0bnimy5jui4s"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_7k282"]
|
||||||
|
script = ExtResource("3_7hi7s")
|
||||||
|
effekt_type = 2
|
||||||
|
name = "On Energie"
|
||||||
|
effekt_value = 25.0
|
||||||
|
metadata/_custom_type_script = "uid://d0bnimy5jui4s"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_s386f"]
|
||||||
|
script = ExtResource("3_7hi7s")
|
||||||
|
name = "Patient Customer"
|
||||||
|
effekt_value = 15.0
|
||||||
|
metadata/_custom_type_script = "uid://d0bnimy5jui4s"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_koomw"]
|
||||||
|
script = ExtResource("3_7hi7s")
|
||||||
|
effekt_type = 3
|
||||||
|
name = "Better Order"
|
||||||
|
effekt_value = 25.0
|
||||||
|
metadata/_custom_type_script = "uid://d0bnimy5jui4s"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_c052h"]
|
||||||
|
script = ExtResource("3_7hi7s")
|
||||||
|
effekt_type = 1
|
||||||
|
name = "Heat Deluxe"
|
||||||
|
effekt_value = 35.0
|
||||||
|
metadata/_custom_type_script = "uid://d0bnimy5jui4s"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_lxkqc"]
|
||||||
|
script = ExtResource("3_7hi7s")
|
||||||
|
effekt_type = 3
|
||||||
|
name = "Bla Bla"
|
||||||
|
effekt_value = 10.0
|
||||||
|
metadata/_custom_type_script = "uid://d0bnimy5jui4s"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_5xejm"]
|
||||||
|
script = ExtResource("3_7hi7s")
|
||||||
|
buff_type = 1
|
||||||
|
name = "ON Hurry"
|
||||||
|
effekt_value = 5.0
|
||||||
|
metadata/_custom_type_script = "uid://d0bnimy5jui4s"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_3wqhf"]
|
||||||
|
script = ExtResource("3_7hi7s")
|
||||||
|
buff_type = 1
|
||||||
|
effekt_type = 1
|
||||||
|
name = "Broken Pipe"
|
||||||
|
effekt_value = 10.0
|
||||||
|
metadata/_custom_type_script = "uid://d0bnimy5jui4s"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_jogkf"]
|
||||||
|
script = ExtResource("3_7hi7s")
|
||||||
|
buff_type = 1
|
||||||
|
effekt_type = 3
|
||||||
|
name = "Can See Right"
|
||||||
|
effekt_value = 8.0
|
||||||
|
metadata/_custom_type_script = "uid://d0bnimy5jui4s"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_0bpav"]
|
||||||
|
script = ExtResource("3_7hi7s")
|
||||||
|
buff_type = 1
|
||||||
|
effekt_type = 3
|
||||||
|
name = "remeber fast"
|
||||||
|
effekt_value = 4.0
|
||||||
|
metadata/_custom_type_script = "uid://d0bnimy5jui4s"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_86djo"]
|
||||||
|
script = ExtResource("3_7hi7s")
|
||||||
|
buff_type = 1
|
||||||
|
effekt_type = 1
|
||||||
|
name = "Dangerus Heat"
|
||||||
|
effekt_value = 9.0
|
||||||
|
metadata/_custom_type_script = "uid://d0bnimy5jui4s"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_toi40"]
|
||||||
|
script = ExtResource("3_7hi7s")
|
||||||
|
buff_type = 1
|
||||||
|
effekt_type = 2
|
||||||
|
name = "illnes "
|
||||||
|
effekt_value = 5.0
|
||||||
|
metadata/_custom_type_script = "uid://d0bnimy5jui4s"
|
||||||
|
|
||||||
|
[node name="Phase_Manager" type="Node" unique_id=1313925540 node_paths=PackedStringArray("prep_phase")]
|
||||||
|
script = ExtResource("1_kcpjb")
|
||||||
|
prep_phase = NodePath("Prep_Phase")
|
||||||
|
|
||||||
|
[node name="Prep_Phase" type="Node" parent="." unique_id=1939498496]
|
||||||
|
script = ExtResource("2_7hi7s")
|
||||||
|
buff_list = Array[ExtResource("3_7hi7s")]([SubResource("Resource_r8bbp"), SubResource("Resource_7k282"), SubResource("Resource_s386f"), SubResource("Resource_koomw"), SubResource("Resource_c052h"), SubResource("Resource_lxkqc")])
|
||||||
|
debuff_list = Array[ExtResource("3_7hi7s")]([SubResource("Resource_5xejm"), SubResource("Resource_3wqhf"), SubResource("Resource_jogkf"), SubResource("Resource_0bpav"), SubResource("Resource_86djo"), SubResource("Resource_toi40")])
|
||||||
|
|
@ -0,0 +1,56 @@
|
||||||
|
class_name Theke extends StaticBody2D
|
||||||
|
|
||||||
|
|
||||||
|
## FLAGS
|
||||||
|
var npc_on_counter:bool = false
|
||||||
|
var order_active:bool = false
|
||||||
|
|
||||||
|
signal set_ingrediant_list( order : Array[String] )
|
||||||
|
var produced_potion: Array[String]
|
||||||
|
var new_customer:NPC
|
||||||
|
|
||||||
|
|
||||||
|
func register_customer(customer:NPC)->void:
|
||||||
|
npc_on_counter = true
|
||||||
|
new_customer = customer
|
||||||
|
|
||||||
|
## hier ist die schnistselle zum spieler ??
|
||||||
|
func interaction_with_player(player:Player)->void:
|
||||||
|
if !npc_on_counter or new_customer == null:
|
||||||
|
print("nix zu Quatschen ")
|
||||||
|
return
|
||||||
|
|
||||||
|
if not order_active:
|
||||||
|
player_takes_order() # gebe es an game Scene
|
||||||
|
else:
|
||||||
|
player_deliverd_order(player)
|
||||||
|
|
||||||
|
## gebe die order an die game Scene um die Order UI zu aktiviren
|
||||||
|
func player_takes_order()->void:
|
||||||
|
order_active = true
|
||||||
|
set_ingrediant_list.emit(new_customer.active_order) # schike das in die game scen um es an dei gam UI weiter zu geben
|
||||||
|
|
||||||
|
func set_produced_potion(ingrediant_list:Array[String])->void:
|
||||||
|
produced_potion = ingrediant_list
|
||||||
|
|
||||||
|
|
||||||
|
func player_deliverd_order(player:Player)->void:
|
||||||
|
order_active = false
|
||||||
|
Global.add_served_customer()
|
||||||
|
if new_customer.active_order == produced_potion:
|
||||||
|
print("Richtige Portion abgegebn - speiler soll zurück laufen ")
|
||||||
|
Global.add_social_core(10) # kann man anpassen als progression
|
||||||
|
|
||||||
|
new_customer.happy_noise.play()
|
||||||
|
|
||||||
|
new_customer.walk_back() # statsu rein bringen
|
||||||
|
player.pickup_point.get_child(0).queue_free()
|
||||||
|
else:
|
||||||
|
print("Falsche Portion , kunde ist sauer ")
|
||||||
|
Global.reduce_social_core(45) # auch hier anpassen
|
||||||
|
|
||||||
|
new_customer.angry_noise.play()
|
||||||
|
|
||||||
|
new_customer.walk_back()
|
||||||
|
player.pickup_point.get_child(0).queue_free()
|
||||||
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://g0hhwyqkbbmb
|
||||||
|
|
@ -0,0 +1,30 @@
|
||||||
|
[gd_scene format=3 uid="uid://bv2wl3c078xyx"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://g0hhwyqkbbmb" path="res://Assets/Theke/theke.gd" id="1_7rjap"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bo7ttbkhiqxh5" path="res://external_assets/Pixel Lands Interiors/furniture.png" id="1_ibvqd"]
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ibvqd"]
|
||||||
|
size = Vector2(48, 21.25)
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7rjap"]
|
||||||
|
size = Vector2(45, 26)
|
||||||
|
|
||||||
|
[node name="Theke" type="StaticBody2D" unique_id=1779849611]
|
||||||
|
y_sort_enabled = true
|
||||||
|
script = ExtResource("1_7rjap")
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1555979196]
|
||||||
|
texture = ExtResource("1_ibvqd")
|
||||||
|
region_enabled = true
|
||||||
|
region_rect = Rect2(208, 211, 48, 29)
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1355188106]
|
||||||
|
position = Vector2(0, -2.375)
|
||||||
|
shape = SubResource("RectangleShape2D_ibvqd")
|
||||||
|
|
||||||
|
[node name="Area2D" type="Area2D" parent="." unique_id=1477123762 groups=["interactebel", "theke"]]
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=652294489]
|
||||||
|
position = Vector2(0, -3)
|
||||||
|
shape = SubResource("RectangleShape2D_7rjap")
|
||||||
|
debug_color = Color(0.7495113, 0.20287767, 0.99999994, 0.41960785)
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
extends StaticBody2D
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
pass
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://dqb36wev1dnlh
|
||||||
|
|
@ -0,0 +1,35 @@
|
||||||
|
[gd_scene format=3 uid="uid://bafi35xnwxe4b"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bo7ttbkhiqxh5" path="res://external_assets/Pixel Lands Interiors/furniture.png" id="1_lqnfn"]
|
||||||
|
[ext_resource type="Script" uid="uid://dqb36wev1dnlh" path="res://Assets/TrashBin/trash_bin.gd" id="1_vjixl"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://bceeptgnj71hk" path="res://Sounds/throw_awaysound.wav" id="2_pjxwe"]
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_pjxwe"]
|
||||||
|
radius = 9.0
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_vjixl"]
|
||||||
|
radius = 9.0
|
||||||
|
height = 24.0
|
||||||
|
|
||||||
|
[node name="TrashBin" type="StaticBody2D" unique_id=1637242378]
|
||||||
|
y_sort_enabled = true
|
||||||
|
script = ExtResource("1_vjixl")
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=219534632]
|
||||||
|
texture = ExtResource("1_lqnfn")
|
||||||
|
region_enabled = true
|
||||||
|
region_rect = Rect2(304.67175, 11.849857, 14.741486, 20.383293)
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1497505173]
|
||||||
|
position = Vector2(0, 3)
|
||||||
|
shape = SubResource("CircleShape2D_pjxwe")
|
||||||
|
|
||||||
|
[node name="Area2D" type="Area2D" parent="." unique_id=136444919 groups=["interactebel"]]
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=856152758]
|
||||||
|
position = Vector2(0, 1)
|
||||||
|
shape = SubResource("CapsuleShape2D_vjixl")
|
||||||
|
debug_color = Color(0.72774905, 0.23949534, 0.99999994, 0.41960785)
|
||||||
|
|
||||||
|
[node name="throw_awway_sound" type="AudioStreamPlayer" parent="." unique_id=208338130]
|
||||||
|
stream = ExtResource("2_pjxwe")
|
||||||
|
|
@ -0,0 +1,56 @@
|
||||||
|
class_name HUD extends Control
|
||||||
|
|
||||||
|
@export var icon: TextureRect
|
||||||
|
@export var progress_bar: ProgressBar
|
||||||
|
|
||||||
|
|
||||||
|
@export var serverd_label: Label
|
||||||
|
@export var round_customer: Label
|
||||||
|
|
||||||
|
@export var icon_sprites:Array[CompressedTexture2D]
|
||||||
|
|
||||||
|
var BG_color:Color
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
Global.change_customer_count.connect(on_costomer_served)
|
||||||
|
Global.change_social_score.connect(on_social_score_changed)
|
||||||
|
|
||||||
|
var style_fill: StyleBoxFlat = progress_bar.get_theme_stylebox("fill")
|
||||||
|
BG_color = style_fill.bg_color
|
||||||
|
|
||||||
|
|
||||||
|
func on_costomer_served()->void:
|
||||||
|
serverd_label.text = str(Global.get_served_customer())
|
||||||
|
|
||||||
|
func on_social_score_changed(new_score:int)->void:
|
||||||
|
update_social_score(new_score)
|
||||||
|
|
||||||
|
|
||||||
|
func set_round_customer_count(value:int)->void:
|
||||||
|
round_customer.text = "/" +str(value)
|
||||||
|
|
||||||
|
func set_served_customer_label_for_round()->void:
|
||||||
|
serverd_label.text = "0"
|
||||||
|
|
||||||
|
func update_social_score(value:int)->void:
|
||||||
|
progress_bar.value = value
|
||||||
|
if progress_bar.value < 35:
|
||||||
|
icon.texture = icon_sprites[0]
|
||||||
|
await change_color_smooth(Color.RED)
|
||||||
|
|
||||||
|
elif progress_bar.value < 65:
|
||||||
|
icon.texture = icon_sprites[1]
|
||||||
|
await change_color_smooth(Color.CORAL)
|
||||||
|
|
||||||
|
|
||||||
|
else:
|
||||||
|
icon.texture = icon_sprites[2]
|
||||||
|
await change_color_smooth(Color.GREEN)
|
||||||
|
|
||||||
|
|
||||||
|
func change_color_smooth(new_color:Color)->void:
|
||||||
|
var tewen = create_tween()
|
||||||
|
tewen.tween_property(progress_bar.get_theme_stylebox("fill"),"bg_color",new_color,1.0)
|
||||||
|
await tewen.finished
|
||||||
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://b0tqnlddnwckl
|
||||||
|
|
@ -0,0 +1,119 @@
|
||||||
|
[gd_scene format=3 uid="uid://bwho6vogqsvd5"]
|
||||||
|
|
||||||
|
[ext_resource type="FontFile" uid="uid://dbu0r5650h6y7" path="res://Fonts/KiwiSoda.ttf" id="1_6870q"]
|
||||||
|
[ext_resource type="Script" uid="uid://b0tqnlddnwckl" path="res://Assets/UI/HUD/hud.gd" id="1_d3ict"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://6u1y6ym3mrx8" path="res://Assets/UI/HUD/smilie_angry.png" id="2_6xihq"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dv8unnd52p6xi" path="res://Assets/NPC/NPC_Icon1.png" id="2_6870q"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://djt4epccamay3" path="res://Assets/UI/HUD/smilie_neutral.png" id="4_6870q"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dw2sjlbdxoumb" path="res://Assets/UI/HUD/smilie_happy.png" id="4_q4ms5"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_lhx3b"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_f5y50"]
|
||||||
|
bg_color = Color(0.8745098, 0.44313726, 0.14901961, 1)
|
||||||
|
border_blend = true
|
||||||
|
corner_radius_top_left = 4
|
||||||
|
corner_radius_top_right = 4
|
||||||
|
corner_radius_bottom_right = 4
|
||||||
|
corner_radius_bottom_left = 4
|
||||||
|
shadow_color = Color(0.70980394, 0.2509804, 0, 0.6)
|
||||||
|
shadow_size = 1
|
||||||
|
shadow_offset = Vector2(-1, 1)
|
||||||
|
anti_aliasing_size = 0.01
|
||||||
|
|
||||||
|
[node name="HUD" type="Control" unique_id=228639649 node_paths=PackedStringArray("icon", "progress_bar", "serverd_label", "round_customer")]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
script = ExtResource("1_d3ict")
|
||||||
|
icon = NodePath("Score/basic_ui/Leben_Container/icon")
|
||||||
|
progress_bar = NodePath("Score/basic_ui/Leben_Container/ProgressBar")
|
||||||
|
serverd_label = NodePath("Score/basic_ui/VBoxContainer/HBoxContainer/HBoxContainer/serverd_label")
|
||||||
|
round_customer = NodePath("Score/basic_ui/VBoxContainer/HBoxContainer/HBoxContainer/Round_Customer")
|
||||||
|
icon_sprites = Array[CompressedTexture2D]([ExtResource("2_6xihq"), ExtResource("4_6870q"), ExtResource("4_q4ms5")])
|
||||||
|
|
||||||
|
[node name="Score" type="PanelContainer" parent="." unique_id=737011931]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 5
|
||||||
|
anchor_left = 0.5
|
||||||
|
anchor_right = 0.5
|
||||||
|
offset_left = -56.0
|
||||||
|
offset_top = 6.0
|
||||||
|
offset_right = 56.0
|
||||||
|
offset_bottom = 61.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
|
||||||
|
[node name="basic_ui" type="VBoxContainer" parent="Score" unique_id=1557756362]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="VBoxContainer" type="VBoxContainer" parent="Score/basic_ui" unique_id=238323899]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 4
|
||||||
|
|
||||||
|
[node name="MarginContainer" type="MarginContainer" parent="Score/basic_ui/VBoxContainer" unique_id=600221787]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="HBoxContainer" type="HBoxContainer" parent="Score/basic_ui/VBoxContainer" unique_id=251755770]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="MarginContainer2" type="MarginContainer" parent="Score/basic_ui/VBoxContainer/HBoxContainer" unique_id=2047912201]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_constants/margin_right = 6
|
||||||
|
|
||||||
|
[node name="HBoxContainer" type="HBoxContainer" parent="Score/basic_ui/VBoxContainer/HBoxContainer" unique_id=39558484]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 4
|
||||||
|
size_flags_vertical = 8
|
||||||
|
|
||||||
|
[node name="serverd_label" type="Label" parent="Score/basic_ui/VBoxContainer/HBoxContainer/HBoxContainer" unique_id=1834535580]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_fonts/font = ExtResource("1_6870q")
|
||||||
|
text = "0"
|
||||||
|
|
||||||
|
[node name="Round_Customer" type="Label" parent="Score/basic_ui/VBoxContainer/HBoxContainer/HBoxContainer" unique_id=142705270]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 4
|
||||||
|
theme_override_fonts/font = ExtResource("1_6870q")
|
||||||
|
text = "/0"
|
||||||
|
horizontal_alignment = 1
|
||||||
|
vertical_alignment = 1
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="Score/basic_ui/VBoxContainer/HBoxContainer" unique_id=1766912669]
|
||||||
|
custom_minimum_size = Vector2(21, 21)
|
||||||
|
layout_mode = 2
|
||||||
|
texture = ExtResource("2_6870q")
|
||||||
|
|
||||||
|
[node name="MarginContainer3" type="MarginContainer" parent="Score/basic_ui/VBoxContainer/HBoxContainer" unique_id=502062420]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_constants/margin_right = 0
|
||||||
|
|
||||||
|
[node name="MarginContainer2" type="MarginContainer" parent="Score/basic_ui/VBoxContainer" unique_id=488278064]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="Leben_Container" type="HBoxContainer" parent="Score/basic_ui" unique_id=679035215]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="MarginContainer3" type="MarginContainer" parent="Score/basic_ui/Leben_Container" unique_id=170336852]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_constants/margin_right = 7
|
||||||
|
|
||||||
|
[node name="icon" type="TextureRect" parent="Score/basic_ui/Leben_Container" unique_id=622658298]
|
||||||
|
layout_mode = 2
|
||||||
|
texture = ExtResource("4_6870q")
|
||||||
|
|
||||||
|
[node name="ProgressBar" type="ProgressBar" parent="Score/basic_ui/Leben_Container" unique_id=935629084]
|
||||||
|
custom_minimum_size = Vector2(0, 11)
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 4
|
||||||
|
theme_override_styles/background = SubResource("StyleBoxEmpty_lhx3b")
|
||||||
|
theme_override_styles/fill = SubResource("StyleBoxFlat_f5y50")
|
||||||
|
value = 45.0
|
||||||
|
show_percentage = false
|
||||||
|
|
||||||
|
[node name="MarginContainer" type="MarginContainer" parent="Score/basic_ui/Leben_Container" unique_id=1786350692]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_constants/margin_right = 13
|
||||||
|
After Width: | Height: | Size: 235 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://6u1y6ym3mrx8"
|
||||||
|
path="res://.godot/imported/smilie_angry.png-dad3d9966d29dd2b41aecc8903f07d09.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/UI/HUD/smilie_angry.png"
|
||||||
|
dest_files=["res://.godot/imported/smilie_angry.png-dad3d9966d29dd2b41aecc8903f07d09.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 203 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dw2sjlbdxoumb"
|
||||||
|
path="res://.godot/imported/smilie_happy.png-051c1bd63bd85f890e5b3346c7464b4f.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/UI/HUD/smilie_happy.png"
|
||||||
|
dest_files=["res://.godot/imported/smilie_happy.png-051c1bd63bd85f890e5b3346c7464b4f.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 195 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://djt4epccamay3"
|
||||||
|
path="res://.godot/imported/smilie_neutral.png-82ad5248b94633be13fb9fe280fe7816.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/UI/HUD/smilie_neutral.png"
|
||||||
|
dest_files=["res://.godot/imported/smilie_neutral.png-82ad5248b94633be13fb9fe280fe7816.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
class_name Label_container extends Control
|
||||||
|
|
||||||
|
@export var day_label: Label
|
||||||
|
@export var label: Label
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
day_label.hide()
|
||||||
|
label.hide()
|
||||||
|
|
||||||
|
func set_text_for_day_label(text:String)->void:
|
||||||
|
day_label.text = text
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://cnl43cuu14uap
|
||||||
|
|
@ -0,0 +1,44 @@
|
||||||
|
class_name Order_Screen extends Control
|
||||||
|
|
||||||
|
@export_category("Stuff")
|
||||||
|
|
||||||
|
@export_subgroup("Colums")
|
||||||
|
@export var order_collum_one: HBoxContainer
|
||||||
|
@export var order_colum_two: HBoxContainer
|
||||||
|
|
||||||
|
@export_subgroup("Items")
|
||||||
|
@export var item_scene:PackedScene
|
||||||
|
signal set_up_done
|
||||||
|
|
||||||
|
|
||||||
|
func set_up_item_list(list:Array[String]):
|
||||||
|
# give a bit more frreling to the game
|
||||||
|
remove_items_from_order_screen()
|
||||||
|
|
||||||
|
await get_tree().create_timer(1.2).timeout
|
||||||
|
var counter = 1
|
||||||
|
for item in list:
|
||||||
|
var item_ui:ItemUI = item_scene.instantiate()
|
||||||
|
if counter <=4:
|
||||||
|
order_collum_one.add_child(item_ui)
|
||||||
|
item_ui.play_audio()
|
||||||
|
else:
|
||||||
|
order_colum_two.add_child(item_ui)
|
||||||
|
item_ui.play_audio()
|
||||||
|
|
||||||
|
counter +=1
|
||||||
|
item_ui.set_item_key(item)
|
||||||
|
|
||||||
|
# give a mit mor feeling to the game
|
||||||
|
await get_tree().create_timer(1.0).timeout
|
||||||
|
set_up_done.emit()
|
||||||
|
# lösche alle ihrem als kinder
|
||||||
|
func remove_items_from_order_screen()->void:
|
||||||
|
|
||||||
|
for n in order_collum_one.get_children():
|
||||||
|
order_collum_one.remove_child(n)
|
||||||
|
n.queue_free()
|
||||||
|
|
||||||
|
for n in order_colum_two.get_children():
|
||||||
|
order_colum_two.remove_child(n)
|
||||||
|
n.queue_free()
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://bg21fxyf5q61o
|
||||||
|
|
@ -0,0 +1,78 @@
|
||||||
|
[gd_scene format=3 uid="uid://d07ajsdglh3tl"]
|
||||||
|
|
||||||
|
[ext_resource type="FontFile" uid="uid://dbu0r5650h6y7" path="res://Fonts/KiwiSoda.ttf" id="1_wo2ga"]
|
||||||
|
[ext_resource type="Script" uid="uid://bg21fxyf5q61o" path="res://Assets/UI/Oder_Screen/order_screen.gd" id="1_y2pl3"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dlqc6sf7mepx1" path="res://Assets/items/item_ui.tscn" id="2_h1e88"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_4k3ma"]
|
||||||
|
|
||||||
|
[sub_resource type="LabelSettings" id="LabelSettings_4k3ma"]
|
||||||
|
font_size = 30
|
||||||
|
outline_size = 8
|
||||||
|
outline_color = Color(0, 0, 0, 1)
|
||||||
|
|
||||||
|
[node name="Order_screen" type="Control" unique_id=244489848 node_paths=PackedStringArray("order_collum_one", "order_colum_two")]
|
||||||
|
visible = false
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 0
|
||||||
|
offset_right = 40.0
|
||||||
|
offset_bottom = 40.0
|
||||||
|
script = ExtResource("1_y2pl3")
|
||||||
|
order_collum_one = NodePath("Order_V_container/Order_Container/Oder_List/order_collum_one")
|
||||||
|
order_colum_two = NodePath("Order_V_container/Order_Container/Oder_List/order_colum_two")
|
||||||
|
item_scene = ExtResource("2_h1e88")
|
||||||
|
|
||||||
|
[node name="Order_V_container" type="VBoxContainer" parent="." unique_id=1654259577]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 8
|
||||||
|
anchor_left = 0.5
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 0.5
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_left = 142.5
|
||||||
|
offset_top = 38.0
|
||||||
|
offset_right = 297.5
|
||||||
|
offset_bottom = 192.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="Order_Container" type="PanelContainer" parent="Order_V_container" unique_id=861499091]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_4k3ma")
|
||||||
|
|
||||||
|
[node name="Oder_List" type="VBoxContainer" parent="Order_V_container/Order_Container" unique_id=1051521644]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="MarginContainer4" type="MarginContainer" parent="Order_V_container/Order_Container/Oder_List" unique_id=804197454]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_constants/margin_bottom = 3
|
||||||
|
|
||||||
|
[node name="Oder_label" type="Label" parent="Order_V_container/Order_Container/Oder_List" unique_id=1728351937]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_fonts/font = ExtResource("1_wo2ga")
|
||||||
|
theme_override_font_sizes/font_size = 30
|
||||||
|
text = "ORDER LIST"
|
||||||
|
label_settings = SubResource("LabelSettings_4k3ma")
|
||||||
|
|
||||||
|
[node name="MarginContainer3" type="MarginContainer" parent="Order_V_container/Order_Container/Oder_List" unique_id=1412205648]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_constants/margin_bottom = 8
|
||||||
|
|
||||||
|
[node name="order_collum_one" type="HBoxContainer" parent="Order_V_container/Order_Container/Oder_List" unique_id=707957668]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 4
|
||||||
|
|
||||||
|
[node name="MarginContainer2" type="MarginContainer" parent="Order_V_container/Order_Container/Oder_List" unique_id=1369330955]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_constants/margin_bottom = 8
|
||||||
|
|
||||||
|
[node name="order_colum_two" type="HBoxContainer" parent="Order_V_container/Order_Container/Oder_List" unique_id=933237716]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 4
|
||||||
|
|
||||||
|
[node name="MarginContainer" type="MarginContainer" parent="Order_V_container/Order_Container/Oder_List" unique_id=1830539833]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_constants/margin_bottom = 8
|
||||||
|
|
||||||
|
[node name="MarginContainer" type="MarginContainer" parent="Order_V_container" unique_id=819075868]
|
||||||
|
layout_mode = 2
|
||||||
|
After Width: | Height: | Size: 222 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cwrkii4gc5qjs"
|
||||||
|
path="res://.godot/imported/heart_empty.png-f02668723438cce5f5b5773f38797dd8.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/UI/heart_empty.png"
|
||||||
|
dest_files=["res://.godot/imported/heart_empty.png-f02668723438cce5f5b5773f38797dd8.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 283 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c7clwsxtt4tpj"
|
||||||
|
path="res://.godot/imported/heart_full.png-38d411db4ae0159d59618d7764d3df36.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/UI/heart_full.png"
|
||||||
|
dest_files=["res://.godot/imported/heart_full.png-38d411db4ae0159d59618d7764d3df36.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
class_name SchwarzBlende extends ColorRect
|
||||||
|
|
||||||
|
signal fade_finished # Signal, damit die GameScene weiß, wann es weitergeht
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
# Start-Zustand: Komplett durchsichtig
|
||||||
|
self.modulate.a = 0.0
|
||||||
|
self.mouse_filter = Control.MOUSE_FILTER_IGNORE # Damit man durchklicken kann
|
||||||
|
|
||||||
|
func play_fade_cycle(duration: float = 1.0):
|
||||||
|
|
||||||
|
print("WTF")
|
||||||
|
var tween = create_tween()
|
||||||
|
|
||||||
|
# 1. Schwarz werden (Fade In)
|
||||||
|
tween.tween_property(self, "modulate:a", 1.0, duration)
|
||||||
|
|
||||||
|
# 2. Kurze Pause im schwarzen Zustand
|
||||||
|
tween.tween_interval(0.5)
|
||||||
|
|
||||||
|
# 3. Wieder durchsichtig werden (Fade Out)
|
||||||
|
tween.tween_property(self, "modulate:a", 0.0, duration)
|
||||||
|
|
||||||
|
# Wenn alles fertig ist, Signal senden
|
||||||
|
tween.finished.connect(func(): fade_finished.emit())
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://x1o838r4nuis
|
||||||
|
After Width: | Height: | Size: 756 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://2fyn354ywxgv"
|
||||||
|
path="res://.godot/imported/small fire sprite red (1).png-2086810578ceab4918bb560030350c41.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/UI/small fire sprite red (1).png"
|
||||||
|
dest_files=["res://.godot/imported/small fire sprite red (1).png-2086810578ceab4918bb560030350c41.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 1.3 KiB |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://px6ud7tnmrs1"
|
||||||
|
path="res://.godot/imported/Better_Well.png-5524ebffe1142d31e17c54c353166469.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Well/Better_Well.png"
|
||||||
|
dest_files=["res://.godot/imported/Better_Well.png-5524ebffe1142d31e17c54c353166469.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
[gd_scene format=3 uid="uid://c3h3rdrnffm6n"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://px6ud7tnmrs1" path="res://Assets/Well/Better_Well.png" id="1_rujqn"]
|
||||||
|
[ext_resource type="Script" uid="uid://dqhfjl4gljpxt" path="res://Assets/items/pick_up_area.gd" id="1_w2c1f"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://cdj38475fulsk" path="res://Sounds/essence_pick_up.wav" id="3_nmpkk"]
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_rlvnq"]
|
||||||
|
radius = 15.0
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_dj5qx"]
|
||||||
|
radius = 18.0
|
||||||
|
|
||||||
|
[node name="Well" type="StaticBody2D" unique_id=1639074551 node_paths=PackedStringArray("audio_stream_player")]
|
||||||
|
script = ExtResource("1_w2c1f")
|
||||||
|
audio_stream_player = NodePath("AudioStreamPlayer")
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=213912017]
|
||||||
|
texture_filter = 1
|
||||||
|
position = Vector2(-1, 0)
|
||||||
|
texture = ExtResource("1_rujqn")
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2017833154]
|
||||||
|
shape = SubResource("CircleShape2D_rlvnq")
|
||||||
|
|
||||||
|
[node name="Area2D" type="Area2D" parent="." unique_id=533517644 groups=["interactebel"]]
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1529525343]
|
||||||
|
shape = SubResource("CircleShape2D_dj5qx")
|
||||||
|
debug_color = Color(0.73723745, 0.22451043, 0.99999994, 0.41960785)
|
||||||
|
|
||||||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=23240262]
|
||||||
|
stream = ExtResource("3_nmpkk")
|
||||||
|
bus = &"UI_Soundeffekts"
|
||||||
|
After Width: | Height: | Size: 488 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://clnefx3h2yp2a"
|
||||||
|
path="res://.godot/imported/WooD_Schrank.png-e40c2d653358db90c8cfe8008ba71775.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/WoodStofe/WooD_Schrank.png"
|
||||||
|
dest_files=["res://.godot/imported/WooD_Schrank.png-e40c2d653358db90c8cfe8008ba71775.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
|
@ -0,0 +1,43 @@
|
||||||
|
[gd_scene format=3 uid="uid://c4uvdq2pevvu6"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://dqhfjl4gljpxt" path="res://Assets/items/pick_up_area.gd" id="1_0sb3h"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://clnefx3h2yp2a" path="res://Assets/WoodStofe/WooD_Schrank.png" id="1_nwgfe"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://cdj38475fulsk" path="res://Sounds/essence_pick_up.wav" id="3_pjajf"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://g2b1nbuer721" path="res://Assets/items/new_images/wood_tex.png" id="4_ak5de"]
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0sb3h"]
|
||||||
|
size = Vector2(29, 10)
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_pjajf"]
|
||||||
|
size = Vector2(34, 30)
|
||||||
|
|
||||||
|
[node name="WoodStofe" type="StaticBody2D" unique_id=1639074551 node_paths=PackedStringArray("audio_stream_player")]
|
||||||
|
script = ExtResource("1_0sb3h")
|
||||||
|
audio_stream_player = NodePath("AudioStreamPlayer")
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=213912017]
|
||||||
|
texture_filter = 1
|
||||||
|
position = Vector2(-1, 0)
|
||||||
|
texture = ExtResource("1_nwgfe")
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2017833154]
|
||||||
|
position = Vector2(-1.5, 10)
|
||||||
|
shape = SubResource("RectangleShape2D_0sb3h")
|
||||||
|
|
||||||
|
[node name="Area2D" type="Area2D" parent="." unique_id=533517644 groups=["interactebel"]]
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1529525343]
|
||||||
|
position = Vector2(-1, 2)
|
||||||
|
shape = SubResource("RectangleShape2D_pjajf")
|
||||||
|
debug_color = Color(0.73723745, 0.22451043, 0.99999994, 0.41960785)
|
||||||
|
|
||||||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1206856522]
|
||||||
|
stream = ExtResource("3_pjajf")
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="." unique_id=374369476]
|
||||||
|
z_index = 10
|
||||||
|
offset_left = -8.0
|
||||||
|
offset_top = -30.0
|
||||||
|
offset_right = 8.0
|
||||||
|
offset_bottom = -14.0
|
||||||
|
texture = ExtResource("4_ak5de")
|
||||||
|
After Width: | Height: | Size: 309 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c10s7y6upequy"
|
||||||
|
path="res://.godot/imported/BlackHole.png-509eb4141d131bcdcc7a6fb9623afff8.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/items/BlackHole.png"
|
||||||
|
dest_files=["res://.godot/imported/BlackHole.png-509eb4141d131bcdcc7a6fb9623afff8.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 409 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dx0nt6ht8exmm"
|
||||||
|
path="res://.godot/imported/LightFarry.png-ff46698f6c0715ee4fe601f50d5e83d0.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/items/LightFarry.png"
|
||||||
|
dest_files=["res://.godot/imported/LightFarry.png-ff46698f6c0715ee4fe601f50d5e83d0.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 465 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ej5snk8qsxh7"
|
||||||
|
path="res://.godot/imported/MagicMushroom.png-8962a5ac4f844a6cb129a6bf432196a2.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/items/MagicMushroom.png"
|
||||||
|
dest_files=["res://.godot/imported/MagicMushroom.png-8962a5ac4f844a6cb129a6bf432196a2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
[gd_scene format=3 uid="uid://dyeuqwqpvjwqh"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://gi67if720ch7" path="res://Assets/items/new_images/potion.png" id="1_i8pxg"]
|
||||||
|
[ext_resource type="Script" uid="uid://c6ypkd2i1iukv" path="res://Assets/items/item.gd" id="2_1tcga"]
|
||||||
|
|
||||||
|
[node name="Potion" type="Sprite2D" unique_id=1908661655]
|
||||||
|
texture_filter = 1
|
||||||
|
texture = ExtResource("1_i8pxg")
|
||||||
|
region_rect = Rect2(32, 0, 16, 16)
|
||||||
|
script = ExtResource("2_1tcga")
|
||||||
|
item_name = "Potion"
|
||||||
|
item_type = 2
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
[gd_scene format=3 uid="uid://bm5vk24augc6m"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://duy60st6xeeav" path="res://Assets/items/new_images/magic_water.png" id="1_ahqmo"]
|
||||||
|
[ext_resource type="Script" uid="uid://c6ypkd2i1iukv" path="res://Assets/items/item.gd" id="2_00y1a"]
|
||||||
|
|
||||||
|
[node name="Water" type="Sprite2D" unique_id=1908661655]
|
||||||
|
texture_filter = 1
|
||||||
|
texture = ExtResource("1_ahqmo")
|
||||||
|
region_rect = Rect2(32, 0, 16, 16)
|
||||||
|
script = ExtResource("2_00y1a")
|
||||||
|
item_name = "Water"
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
[gd_scene format=3 uid="uid://chqxusj6s7m2x"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://g2b1nbuer721" path="res://Assets/items/new_images/wood_tex.png" id="1_b4tj3"]
|
||||||
|
[ext_resource type="Script" uid="uid://c6ypkd2i1iukv" path="res://Assets/items/item.gd" id="2_afkqs"]
|
||||||
|
|
||||||
|
[node name="Wood" type="Sprite2D" unique_id=1908661655]
|
||||||
|
y_sort_enabled = true
|
||||||
|
texture_filter = 1
|
||||||
|
texture = ExtResource("1_b4tj3")
|
||||||
|
region_rect = Rect2(16, 0, 16, 16)
|
||||||
|
script = ExtResource("2_afkqs")
|
||||||
|
item_name = "Wood"
|
||||||
|
item_type = 1
|
||||||
|
After Width: | Height: | Size: 388 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ic1rd2rbyykp"
|
||||||
|
path="res://.godot/imported/row-1-column-1.png-7adeb6afded341176a229ce891f42527.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/items/basic_items/pictures/row-1-column-1.png"
|
||||||
|
dest_files=["res://.godot/imported/row-1-column-1.png-7adeb6afded341176a229ce891f42527.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 384 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dbni5aeiag4hd"
|
||||||
|
path="res://.godot/imported/row-1-column-2.png-3c41fb54f1e86e5f5aeb18db245974a1.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/items/basic_items/pictures/row-1-column-2.png"
|
||||||
|
dest_files=["res://.godot/imported/row-1-column-2.png-3c41fb54f1e86e5f5aeb18db245974a1.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 417 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bx0kt1pb5eumm"
|
||||||
|
path="res://.godot/imported/row-1-column-3.png-d264b0f76eead29d1524fe7a81b27bba.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/items/basic_items/pictures/row-1-column-3.png"
|
||||||
|
dest_files=["res://.godot/imported/row-1-column-3.png-d264b0f76eead29d1524fe7a81b27bba.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 707 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b5xgvyvmn510h"
|
||||||
|
path="res://.godot/imported/Fruits.png-3ff3f2fe423751555d257e87a379e64c.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/items/fruit/Fruits.png"
|
||||||
|
dest_files=["res://.godot/imported/Fruits.png-3ff3f2fe423751555d257e87a379e64c.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
[gd_scene format=3 uid="uid://1k0etim3cpy0"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://b0unliglhjmxs" path="res://Assets/items/new_images/apple.png" id="1_sep1b"]
|
||||||
|
[ext_resource type="Script" uid="uid://c6ypkd2i1iukv" path="res://Assets/items/item.gd" id="2_p1hfd"]
|
||||||
|
|
||||||
|
[node name="Apple" type="Sprite2D" unique_id=85553889]
|
||||||
|
texture_filter = 1
|
||||||
|
texture = ExtResource("1_sep1b")
|
||||||
|
region_rect = Rect2(0, 0, 16, 16)
|
||||||
|
script = ExtResource("2_p1hfd")
|
||||||
|
item_name = "Apple"
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
[gd_scene format=3 uid="uid://bqdpv0rxtov6m"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cwhsjnn1umri8" path="res://Assets/items/new_images/lemon.png" id="1_kv1vo"]
|
||||||
|
[ext_resource type="Script" uid="uid://c6ypkd2i1iukv" path="res://Assets/items/item.gd" id="2_xnaog"]
|
||||||
|
|
||||||
|
[node name="Lemon" type="Sprite2D" unique_id=85553889]
|
||||||
|
texture_filter = 1
|
||||||
|
texture = ExtResource("1_kv1vo")
|
||||||
|
region_rect = Rect2(32, 0, 16, 16)
|
||||||
|
script = ExtResource("2_xnaog")
|
||||||
|
item_name = "Lemon"
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
[gd_scene format=3 uid="uid://dak7wf1yclftb"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://b0tfe4edmek2h" path="res://Assets/items/new_images/peach.png" id="1_0rlmd"]
|
||||||
|
[ext_resource type="Script" uid="uid://c6ypkd2i1iukv" path="res://Assets/items/item.gd" id="2_56xc6"]
|
||||||
|
|
||||||
|
[node name="Peach" type="Sprite2D" unique_id=85553889]
|
||||||
|
texture_filter = 1
|
||||||
|
texture = ExtResource("1_0rlmd")
|
||||||
|
region_rect = Rect2(16, 0, 16, 16)
|
||||||
|
script = ExtResource("2_56xc6")
|
||||||
|
item_name = "Peach"
|
||||||
|
After Width: | Height: | Size: 437 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://da01bxjmtsoft"
|
||||||
|
path="res://.godot/imported/row-1-column-1.png-4bcaf1fb42e58cacd5bcff67f8b81e64.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/items/fruit/zutaten/row-1-column-1.png"
|
||||||
|
dest_files=["res://.godot/imported/row-1-column-1.png-4bcaf1fb42e58cacd5bcff67f8b81e64.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 472 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cvf64ou1rccxn"
|
||||||
|
path="res://.godot/imported/row-1-column-2.png-75e7bf449a6077218a264b914e7f6e68.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/items/fruit/zutaten/row-1-column-2.png"
|
||||||
|
dest_files=["res://.godot/imported/row-1-column-2.png-75e7bf449a6077218a264b914e7f6e68.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 405 B |
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://db15wfps4rt0v"
|
||||||
|
path="res://.godot/imported/row-1-column-3.png-40eae1683ffdb6e3ca8996ea49f9e7e5.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/items/fruit/zutaten/row-1-column-3.png"
|
||||||
|
dest_files=["res://.godot/imported/row-1-column-3.png-40eae1683ffdb6e3ca8996ea49f9e7e5.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
class_name Item extends Sprite2D
|
||||||
|
|
||||||
|
|
||||||
|
enum TYPE {INGREDIENT,BASIC,POTION}
|
||||||
|
|
||||||
|
@export var item_name:String
|
||||||
|
@export var item_type:TYPE
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://c6ypkd2i1iukv
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
class_name ItemUI extends PanelContainer
|
||||||
|
|
||||||
|
@export var texture_sprite: TextureRect
|
||||||
|
@export var texture_dictionary: Dictionary[String, Texture2D] = {}
|
||||||
|
@export var audio_stream_player: AudioStreamPlayer
|
||||||
|
|
||||||
|
var item_name: String = "":
|
||||||
|
set(value):
|
||||||
|
item_name = value
|
||||||
|
#print("okey setze werte")
|
||||||
|
if is_inside_tree() and texture_sprite:
|
||||||
|
#print("muss jetzt in sachen rein laden ")
|
||||||
|
_set_up_item_ui()
|
||||||
|
|
||||||
|
func _set_up_item_ui()->void:
|
||||||
|
if texture_dictionary.has(item_name):
|
||||||
|
texture_sprite.texture = texture_dictionary[item_name]
|
||||||
|
|
||||||
|
func set_item_key(key:String)->void:
|
||||||
|
#print("hello")
|
||||||
|
item_name = key
|
||||||
|
|
||||||
|
func play_audio()->void:
|
||||||
|
audio_stream_player.play()
|
||||||
|
|
||||||
|
|
||||||