Files
godot-demo-projects/networking/multiplayer_pong/paddle.tscn
Hugo Locurcio 4d49bbd1b8 Update demos for Godot 4.4
- Resave all files with Godot 4.4 to make use of script/shader UIDs.
- Use AgX tonemapping in all demos that used a tonemapper other than Linear.
2025-03-21 02:00:41 +01:00

29 lines
812 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://cpw46256eirwq"]
[ext_resource type="Script" uid="uid://bvy684femwalu" path="res://logic/paddle.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://bjw2yb853klh2" path="res://paddle.png" id="2"]
[sub_resource type="CapsuleShape2D" id="1"]
radius = 4.78568
height = 23.6064
[node name="Paddle" type="Area2D"]
script = ExtResource("1")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2")
[node name="Shape3D" type="CollisionShape2D" parent="."]
shape = SubResource("1")
[node name="You" type="Label" parent="."]
offset_left = -26.0
offset_top = -33.0
offset_right = 27.0
offset_bottom = -19.0
size_flags_horizontal = 2
size_flags_vertical = 0
text = "You"
[connection signal="area_entered" from="." to="." method="_on_paddle_area_enter"]