2020-10-19 00:44:23 +02:00
|
|
|
[gd_scene load_steps=4 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://logic/Paddle.cs" type="Script" id=1]
|
2022-03-26 11:00:50 +01:00
|
|
|
[ext_resource path="res://paddle.png" type="Texture2D" id=2]
|
2020-10-19 00:44:23 +02:00
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape2D" id=1]
|
|
|
|
radius = 4.78568
|
|
|
|
height = 23.6064
|
|
|
|
|
|
|
|
[node name="Paddle" type="Area2D"]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2022-03-26 11:00:50 +01:00
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
2020-10-19 00:44:23 +02:00
|
|
|
texture = ExtResource( 2 )
|
|
|
|
|
2022-03-26 11:00:50 +01:00
|
|
|
[node name="Shape3D" type="CollisionShape2D" parent="."]
|
2020-10-19 00:44:23 +02:00
|
|
|
shape = SubResource( 1 )
|
|
|
|
|
|
|
|
[node name="You" type="Label" parent="."]
|
2022-03-26 11:00:50 +01:00
|
|
|
offset_left = -26.0
|
|
|
|
offset_top = -33.0
|
|
|
|
offset_right = 27.0
|
|
|
|
offset_bottom = -19.0
|
2020-10-19 00:44:23 +02:00
|
|
|
size_flags_horizontal = 2
|
|
|
|
size_flags_vertical = 0
|
|
|
|
text = "You"
|
|
|
|
align = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-12-09 01:36:00 +01:00
|
|
|
|
2020-10-19 00:44:23 +02:00
|
|
|
[connection signal="area_entered" from="." to="." method="OnPaddleAreaEnter"]
|