18 lines
556 B
Text
18 lines
556 B
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://assets/images/balle.png" type="Texture" id=1]
|
|
[ext_resource path="res://scripts/Balle.gd" type="Script" id=2]
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
|
extents = Vector2( 4, 1.5 )
|
|
|
|
[node name="Area2D" type="Area2D"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 1 )
|
|
[connection signal="body_entered" from="." to="." method="_on_Area2D_body_entered"]
|