16 lines
618 B
Text
16 lines
618 B
Text
[gd_scene load_steps=3 format=3 uid="uid://crpjmum8m2m1b"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/Instrument/balle.gd" id="1_gf62f"]
|
|
[ext_resource type="Texture2D" uid="uid://1xayae6jyuge" path="res://ressources/images/note2.png" id="2_5005k"]
|
|
|
|
[node name="Balle1" type="CharacterBody2D" node_paths=PackedStringArray("raycast")]
|
|
script = ExtResource("1_gf62f")
|
|
raycast = NodePath("RayCast2D")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
rotation = 3.14159
|
|
texture = ExtResource("2_5005k")
|
|
|
|
[node name="RayCast2D" type="RayCast2D" parent="."]
|
|
position = Vector2(0, -7)
|
|
target_position = Vector2(0, 15)
|