made a gun that can kill the enemy. # Conflicts: # scenes/enemy.tscn # scenes/player.tscn # scenes/test_scene.tscn # scripts/UltimatePlatformerController.gd
45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
[gd_scene format=3 uid="uid://cmtdq6tedv1mm"]
|
|
|
|
[ext_resource type="Script" uid="uid://2ig5okof0vaa" path="res://scripts/UltimatePlatformerController.gd" id="1_3vyb7"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_d2by0"]
|
|
size = Vector2(111, 105)
|
|
|
|
[node name="player" type="CharacterBody2D" unique_id=1596338883]
|
|
collision_mask = 6
|
|
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(55.5, 52.5)
|
|
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)
|