Pong/prefabs/paddle.tscn
Henry 49988ae674 Add menu system and scene navigation
The changes include: - Moving script files to scripts/ directory -
Creating Start menu scene with Play/Quit buttons - Adding scene
switching between menu and gameplay - Creating theme for menu buttons -
Adding ESC key to return to menu
2025-10-12 13:20:30 +01:00

18 lines
630 B
Text

[gd_scene load_steps=3 format=3 uid="uid://dd0cxfceqwxca"]
[ext_resource type="Script" uid="uid://d0dti6pba80ci" path="res://scripts/Paddle.gd" id="1_q73f6"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_e2o6t"]
size = Vector2(33, 105)
[node name="Paddle" type="CharacterBody2D"]
motion_mode = 1
script = ExtResource("1_q73f6")
[node name="Polygon2D" type="Polygon2D" parent="."]
position = Vector2(8, 60)
polygon = PackedVector2Array(-8, -60, 25, -60, 25, 45, -8, 45)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(16.5, 52.5)
shape = SubResource("RectangleShape2D_e2o6t")