initial commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
[gd_scene format=3 uid="uid://etjisg8welsn"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bemc80xgvtkd4" path="res://assets/scripts/enemy_bullet.gd" id="1_ptxui"]
|
||||
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_xyegg"]
|
||||
radius = 5.0
|
||||
height = 10.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_c3msa"]
|
||||
radius = 5.0
|
||||
|
||||
[node name="EnemyBullet" type="CharacterBody2D" unique_id=822797430]
|
||||
z_index = 1
|
||||
collision_layer = 2
|
||||
collision_mask = 2
|
||||
script = ExtResource("1_ptxui")
|
||||
|
||||
[node name="MeshInstance2D" type="MeshInstance2D" parent="." unique_id=903508644]
|
||||
modulate = Color(0.6156863, 0, 1, 1)
|
||||
mesh = SubResource("SphereMesh_xyegg")
|
||||
|
||||
[node name="hitme" type="Area2D" parent="." unique_id=194049910]
|
||||
collision_layer = 2
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="hitme" unique_id=711740605]
|
||||
shape = SubResource("CircleShape2D_c3msa")
|
||||
|
||||
[connection signal="area_entered" from="hitme" to="." method="_on_area_entered"]
|
||||
[connection signal="body_entered" from="hitme" to="." method="_on_body_entered"]
|
||||
Reference in New Issue
Block a user