Files
przygody-pana-cegly/objects/entities/child.tscn
Gabriel Kaszewski d786ef4c22 Complete C# rewrite with working game in Editor (#6)
* Refactor collectable components to C# and update resource scripts for consistency

* Update resource paths and refactor properties for consistency

* Refactor UI components to inherit from Control and update node paths for consistency

* Update node paths and group assignments for consistency across scenes

* Refactor GameManager and PlayerDeathComponent for improved state management and logging; update scene connections for player death handling

* Add PhantomCamera components and UI elements for improved scene management; refactor existing components for better integration

* Refactor skill components and update resource paths for consistency; enhance skill management in scenes

* Add new UID files and update scene configurations for dialogue components; refactor skill management and input handling

* Add next level command and refactor player retrieval in GameManager; update scene files for consistency

* Add skill upgrade system and refactor skill components for enhanced functionality; update resource paths and configurations

* Enhance ChargeProgressBar and Marketplace functionality; add owner exit handling and update skill button states

* Refactor ChargeProgressBar and SkillManager; update skill handling and improve component interactions

* Refactor player and level configurations; streamline FlipPlayerComponent and reposition Spaceship Enter
2025-08-27 01:12:26 +02:00

58 lines
2.3 KiB
Plaintext

[gd_scene load_steps=10 format=3 uid="uid://d0s2abysa86rq"]
[ext_resource type="Texture2D" uid="uid://b7gp0gqvkv8j4" path="res://sprites/MrBrick_base.png" id="1_jcisc"]
[ext_resource type="Texture2D" uid="uid://jl1gwqchhpdc" path="res://sprites/left_eye.png" id="2_8jrbi"]
[ext_resource type="Texture2D" uid="uid://iiawtnwmeny3" path="res://sprites/right_eye.png" id="3_k41y7"]
[ext_resource type="Texture2D" uid="uid://8h05rd26t66q" path="res://sprites/lollipop.png" id="4_vq1oq"]
[ext_resource type="Texture2D" uid="uid://dpbpjffbdbovp" path="res://sprites/cap.png" id="5_m7x6t"]
[ext_resource type="Script" uid="uid://r4jybneigfcn" path="res://scripts/components/CollectableComponent.cs" id="6_rgif4"]
[ext_resource type="Resource" uid="uid://b6apusc0jmi3x" path="res://resources/collectables/child.tres" id="6_vmvuo"]
[ext_resource type="AudioStream" uid="uid://drfr0wlgkhkdq" path="res://sfx/child_pickup.wav" id="7_j8eyh"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dj5g5"]
size = Vector2(10, 20)
[node name="Child" type="Area2D" groups=["Collectables"]]
collision_layer = 0
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_dj5g5")
[node name="Root" type="Node2D" parent="."]
[node name="Body" type="Node2D" parent="Root"]
[node name="Base" type="Sprite2D" parent="Root/Body"]
texture = ExtResource("1_jcisc")
[node name="Left Eye" type="Sprite2D" parent="Root/Body"]
position = Vector2(-7, -6)
texture = ExtResource("2_8jrbi")
hframes = 2
[node name="Right Eye" type="Sprite2D" parent="Root/Body"]
position = Vector2(6, -5)
texture = ExtResource("3_k41y7")
hframes = 2
[node name="Sprite2D" type="Sprite2D" parent="Root"]
position = Vector2(3, 1)
rotation = 0.785398
texture = ExtResource("4_vq1oq")
[node name="Cap" type="Sprite2D" parent="Root"]
position = Vector2(4, -18)
texture = ExtResource("5_m7x6t")
[node name="CollectableComponent" type="Node" parent="." node_paths=PackedStringArray("Area2D", "CollisionShape", "Sfx")]
script = ExtResource("6_rgif4")
Area2D = NodePath("..")
CollisionShape = NodePath("../CollisionShape2D")
Data = ExtResource("6_vmvuo")
Sfx = NodePath("../sfx_pickup")
[node name="sfx_pickup" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("7_j8eyh")
bus = &"sfx"