forked from Zanzigzan/ChaosHacks-2024
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ene7D16.tmp
30 lines (23 loc) · 1 KB
/
ene7D16.tmp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[gd_scene load_steps=5 format=3 uid="uid://c0uf3xsnhgll4"]
[ext_resource type="Script" path="res://enemy.gd" id="1_pvroe"]
[ext_resource type="Texture2D" uid="uid://ca0hxsb7qei2m" path="res://Resources/assets/cars.png" id="2_qonbe"]
[ext_resource type="Script" path="res://RandomSprite.gd" id="3_0imhu"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_y1pgl"]
radius = 25.0
height = 104.0
[node name="Enemy" type="Area2D"]
collision_layer = 2
collision_mask = 3
collision_priority = 2.0
script = ExtResource("1_pvroe")
speed = null
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visibility_layer = 3
shape = SubResource("CapsuleShape2D_y1pgl")
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
[node name="RandomSprite" type="Sprite2D" parent="."]
texture = ExtResource("2_qonbe")
region_enabled = true
region_rect = Rect2(0, -0.127, 30.589, 51.937)
script = ExtResource("3_0imhu")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]