65 lines
2.4 KiB
Plaintext
65 lines
2.4 KiB
Plaintext
[gd_scene format=3 uid="uid://nwbjxttgghpq"]
|
|
|
|
[ext_resource type="Script" uid="uid://dccfebno1gvh7" path="res://player/player.gd" id="1_player"]
|
|
[ext_resource type="SpriteFrames" path="res://player/characters/animations/guitarist_frames.tres" id="2_frames"]
|
|
[ext_resource type="Script" uid="uid://kg3i7b0dj2p8" path="res://player/camera_2d.gd" id="3_camera"]
|
|
[ext_resource type="Resource" path="res://player/characters/guitarist.tres" id="4_character"]
|
|
[ext_resource type="PackedScene" path="res://ui/hud/player_health_hud.tscn" id="5_health_hud"]
|
|
[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, 52)
|
|
|
|
[node name="Player" type="CharacterBody2D" unique_id=730885194 groups=["player"]]
|
|
z_index = 1
|
|
collision_layer = 2
|
|
script = ExtResource("1_player")
|
|
character_data = ExtResource("4_character")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=589859800]
|
|
shape = SubResource("PlayerShape")
|
|
|
|
[node name="Hurtbox" type="Area2D" parent="." unique_id=542287926]
|
|
collision_layer = 8
|
|
collision_mask = 0
|
|
monitoring = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hurtbox" unique_id=813209683]
|
|
shape = SubResource("PlayerShape")
|
|
|
|
[node name="PunchHitbox" type="Area2D" parent="." unique_id=184501519]
|
|
collision_layer = 0
|
|
collision_mask = 48
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="PunchHitbox" unique_id=126348432]
|
|
|
|
[node name="GroundPoundHitbox" type="Area2D" parent="." unique_id=1822904824]
|
|
collision_layer = 0
|
|
collision_mask = 48
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="GroundPoundHitbox" unique_id=2120510285]
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1502470275]
|
|
z_index = -1
|
|
texture_filter = 1
|
|
position = Vector2(0, -2)
|
|
scale = Vector2(0.5, 0.5)
|
|
sprite_frames = ExtResource("2_frames")
|
|
animation = &"idle"
|
|
speed_scale = 1.0
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="." unique_id=902833396]
|
|
position = Vector2(0, -64)
|
|
zoom = Vector2(2, 2)
|
|
limit_left = 0
|
|
limit_top = 0
|
|
limit_right = 4000
|
|
limit_bottom = 2500
|
|
script = ExtResource("3_camera")
|
|
|
|
[node name="PlayerHealthHUD" parent="." unique_id=660684564 instance=ExtResource("5_health_hud")]
|
|
|
|
[node name="SpecialChargeHUD" parent="." unique_id=1505444607 instance=ExtResource("6_special_charge_hud")]
|