2017-10-30 12:38:39 +01:00
|
|
|
[gd_scene load_steps=4 format=2]
|
2017-07-01 19:59:37 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://paddle.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://paddle.png" type="Texture" id=2]
|
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape2D" id=1]
|
|
|
|
radius = 4.78568
|
|
|
|
height = 23.6064
|
|
|
|
|
|
|
|
[node name="paddle" type="Area2D"]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="sprite" type="Sprite" parent="."]
|
|
|
|
texture = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="shape" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource( 1 )
|
|
|
|
|
|
|
|
[node name="you" type="Label" parent="."]
|
|
|
|
margin_left = -26.0
|
|
|
|
margin_top = -33.0
|
|
|
|
margin_right = 27.0
|
|
|
|
margin_bottom = -19.0
|
2017-10-30 12:38:39 +01:00
|
|
|
size_flags_horizontal = 2
|
|
|
|
size_flags_vertical = 0
|
2017-07-01 19:59:37 +02:00
|
|
|
text = "You"
|
|
|
|
align = 1
|
|
|
|
|
2017-10-30 12:38:39 +01:00
|
|
|
[connection signal="area_entered" from="." to="." method="_on_paddle_area_enter"]
|