Files
wgj26/scenes/player.tscn
T
sam 569e225436 hand to hand weapon
made a close range weapon that can kill the enemy.
2026-10-03 19:51:33 -06:00

95 lines
3.0 KiB
Plaintext

[gd_scene format=3 uid="uid://cmtdq6tedv1mm"]
[ext_resource type="Script" uid="uid://2ig5okof0vaa" path="res://scripts/UltimatePlatformerController.gd" id="1_3vyb7"]
[ext_resource type="FontFile" uid="uid://ddm6ojsaiq20b" path="res://assets/fonts/PixelOperator8-Bold.ttf" id="2_g2els"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_d2by0"]
size = Vector2(111, 105)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
size = Vector2(11.886017, 125.91957)
[node name="player" type="CharacterBody2D" unique_id=1596338883]
position = Vector2(510, 410)
collision_mask = 22
script = ExtResource("1_3vyb7")
[node name="ColorRect" type="ColorRect" parent="." unique_id=1060028972]
offset_right = 111.0
offset_bottom = 104.0
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=440932344]
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1496788104]
position = Vector2(56, 52)
shape = SubResource("RectangleShape2D_d2by0")
[node name="ColorRect2" type="ColorRect" parent="." unique_id=1595777933]
offset_left = 2.0
offset_top = -33.0
offset_right = 28.0
offset_bottom = -8.0
color = Color(1, 0, 0, 1)
[node name="ColorRect3" type="ColorRect" parent="." unique_id=261143567]
offset_left = 82.0
offset_top = -33.0
offset_right = 108.0
offset_bottom = -8.0
color = Color(1, 0, 0, 1)
[node name="ColorRect4" type="ColorRect" parent="." unique_id=1858187239]
offset_left = 42.0
offset_top = -33.0
offset_right = 68.0
offset_bottom = -8.0
color = Color(1, 0, 0, 1)
[node name="Marker2D" type="Marker2D" parent="." unique_id=1559032825]
position = Vector2(112, 38)
[node name="Camera2D" type="Camera2D" parent="." unique_id=2084265989]
position = Vector2(57, 54)
[node name="Label" type="Label" parent="." unique_id=519077191]
offset_left = -722.0
offset_top = -416.0
offset_right = -689.0
offset_bottom = -382.0
theme_override_fonts/font = ExtResource("2_g2els")
theme_override_font_sizes/font_size = 25
text = "0"
[node name="Label2" type="Label" parent="." unique_id=1907510281]
offset_left = -924.0
offset_top = -417.0
offset_right = -672.0
offset_bottom = -383.0
theme_override_fonts/font = ExtResource("2_g2els")
theme_override_font_sizes/font_size = 25
text = "cassets:"
[node name="ColorRect5" type="ColorRect" parent="." unique_id=823301403]
offset_left = 107.0
offset_top = 47.0
offset_right = 119.0
offset_bottom = 177.0
rotation = -2.268928
[node name="Area2D" type="Area2D" parent="ColorRect5" unique_id=1787254827]
[node name="CollisionShape2D" type="CollisionShape2D" parent="ColorRect5/Area2D" unique_id=1167506979]
position = Vector2(5.6205444, 65.769745)
shape = SubResource("RectangleShape2D_aqe1g")
[node name="Timer" type="Timer" parent="." unique_id=331042830]
wait_time = 0.1
[node name="Marker2D2" type="Marker2D" parent="." unique_id=354625466]
position = Vector2(11, 54)
[node name="Marker2D3" type="Marker2D" parent="." unique_id=2052549441]
position = Vector2(107, 48)
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]