Projectile Weapon
made a gun that can kill the enemy.
This commit is contained in:
1 parent
2315add8ec
commit
8bfa979f06
14 files changed
+202
-13
No files matched your search
@@ -0,0 +1,21 @@
|
||||
[gd_scene format=3 uid="uid://baiayu1xn68g0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://7hy57dacf4nh" path="res://projecile.gd" id="1_c8fcr"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
|
||||
size = Vector2(44, 44)
|
||||
|
||||
[node name="projectile" type="Area2D" unique_id=478503233]
|
||||
collision_layer = 8
|
||||
collision_mask = 4
|
||||
script = ExtResource("1_c8fcr")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="." unique_id=1569566086]
|
||||
self_modulate = Color(0, 0, 0, 1)
|
||||
offset_top = -1.0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 39.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1408698135]
|
||||
position = Vector2(20, 19)
|
||||
shape = SubResource("RectangleShape2D_aqe1g")
|
||||
Reference in new issue
Block a user