-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbulle.tscn
More file actions
29 lines (22 loc) · 1.03 KB
/
Copy pathbulle.tscn
File metadata and controls
29 lines (22 loc) · 1.03 KB
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
[gd_scene load_steps=4 format=3 uid="uid://6qhjyrd0ufbo"]
[ext_resource type="Texture2D" uid="uid://2svcbwknjll5" path="res://Assets/bulle_01.png" id="1_2ofhr"]
[ext_resource type="Script" path="res://Scripts/bubble_collision.gd" id="1_p036i"]
[sub_resource type="CircleShape2D" id="CircleShape2D_i8f6r"]
radius = 41.3038
[node name="Bulle" type="Node2D"]
position = Vector2(116, 692)
script = ExtResource("1_p036i")
metadata/angle = 0.0
[node name="CharacterBody2D" type="Area2D" parent="."]
process_mode = 3
z_index = 7
monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
z_index = 9
shape = SubResource("CircleShape2D_i8f6r")
[node name="sprite" type="Sprite2D" parent="CharacterBody2D/CollisionShape2D"]
texture_filter = 1
scale = Vector2(0.05, 0.05)
texture = ExtResource("1_2ofhr")
[connection signal="area_entered" from="CharacterBody2D" to="." method="_on_character_body_2d_area_entered"]
[connection signal="area_exited" from="CharacterBody2D" to="." method="_on_character_body_2d_area_exited"]