2025-02-05 21:43:10 +01:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://dhuh1n0g2rt0a"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://code/player.gd" id="1_xj13o"]
|
2025-02-07 19:35:04 +01:00
|
|
|
[ext_resource type="Texture2D" uid="uid://0gvmndoyr6do" path="res://assets/images/Ninja Frog/Idle (32x32).png" id="2_sbn23"]
|
2025-02-05 21:43:10 +01:00
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_quhe5"]
|
|
|
|
height = 24.0
|
|
|
|
|
|
|
|
[node name="Player" type="CharacterBody2D"]
|
|
|
|
script = ExtResource("1_xj13o")
|
|
|
|
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
|
|
zoom = Vector2(2.5, 2.5)
|
|
|
|
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
|
|
texture = ExtResource("2_sbn23")
|
|
|
|
hframes = 11
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
position = Vector2(0, 4)
|
|
|
|
shape = SubResource("CapsuleShape2D_quhe5")
|
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D" parent="." groups=["die"]]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Area2D"]
|
|
|
|
position = Vector2(0, 4)
|
|
|
|
shape = SubResource("CapsuleShape2D_quhe5")
|
|
|
|
debug_color = Color(0.861615, 0.31579, 0.457849, 0.42)
|
|
|
|
|
|
|
|
[connection signal="area_entered" from="Area2D" to="." method="_on_area_2d_area_entered"]
|