22 lines
801 B
Text
22 lines
801 B
Text
[gd_scene load_steps=4 format=3 uid="uid://buhlaoq2nalup"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/Instrument/balle.gd" id="1_4kd3w"]
|
|
[ext_resource type="Texture2D" uid="uid://csbrejwjfkspr" path="res://ressources/images/note1.png" id="1_qx664"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1x7bj"]
|
|
size = Vector2(8, 16)
|
|
|
|
[node name="Balle" type="Area2D" node_paths=PackedStringArray("raycast")]
|
|
collision_layer = 3
|
|
collision_mask = 3
|
|
script = ExtResource("1_4kd3w")
|
|
raycast = NodePath("")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
rotation = 3.14159
|
|
texture = ExtResource("1_qx664")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_1x7bj")
|
|
|
|
[connection signal="body_entered" from="." to="." method="Collision"]
|