Ajustes de camara

This commit is contained in:
Diego De la Viuda Llorente committed 2026-10-20 15:19:40 +02:00
1 parent 00804de7d9
commit 0ff8df6a6b
9 files changed
+42 -42

No files matched your search

+5 -5
View File
@@ -8,7 +8,7 @@
[ext_resource type="PackedScene" path="res://ui/hud/special_charge_hud.tscn" id="6_special_charge_hud"]
[sub_resource type="RectangleShape2D" id="PlayerShape"]
size = Vector2(26, 46)
size = Vector2(41, 74)
[node name="Player" type="CharacterBody2D" unique_id=730885194 groups=["player"]]
z_index = 1
@@ -17,7 +17,7 @@ script = ExtResource("1_player")
character_data = ExtResource("4_character")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=589859800]
position = Vector2(0.5, 5.5)
position = Vector2(0, 0)
shape = SubResource("PlayerShape")
[node name="Hurtbox" type="Area2D" parent="." unique_id=542287926]
@@ -26,7 +26,7 @@ collision_mask = 0
monitoring = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hurtbox" unique_id=813209683]
position = Vector2(0.5, 5.5)
position = Vector2(0, 0)
shape = SubResource("PlayerShape")
[node name="PunchHitbox" type="Area2D" parent="." unique_id=184501519]
@@ -45,13 +45,13 @@ monitorable = false
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1502470275]
z_index = -1
scale = Vector2(0.321005, 0.321005)
scale = Vector2(0.56, 0.56)
sprite_frames = ExtResource("2_frames")
animation = &"idle"
speed_scale = 2.0
[node name="Camera2D" type="Camera2D" parent="." unique_id=902833396]
zoom = Vector2(5.8, 5.8)
zoom = Vector2(3.4, 3.4)
script = ExtResource("3_camera")
[node name="PlayerHealthHUD" parent="." unique_id=660684564 instance=ExtResource("5_health_hud")]