[gd_scene format=3 uid="uid://bbjstb404m82i"] [ext_resource type="Script" uid="uid://dfyo1afvep6t6" path="res://scripts/Main.gd" id="1_qr3af"] [ext_resource type="Script" uid="uid://cqsd7fd7uxl02" path="res://scripts/ball.gd" id="2_qr3af"] [ext_resource type="Texture2D" uid="uid://da8abrotmo5ak" path="res://res/ball.png" id="3_s0gh3"] [ext_resource type="Script" uid="uid://gqr2e4p78fj0" path="res://scripts/plank_right.gd" id="4_qr3af"] [ext_resource type="Texture2D" uid="uid://bm7l6nkjhoalt" path="res://res/tennis_racket.png" id="5_dajfr"] [ext_resource type="Script" uid="uid://unjro3ilrl38" path="res://scripts/plank_left.gd" id="6_qr3af"] [sub_resource type="CircleShape2D" id="CircleShape2D_j8iw7"] radius = 3.0 [sub_resource type="RectangleShape2D" id="RectangleShape2D_bfdcr"] size = Vector2(2, 16) [sub_resource type="RectangleShape2D" id="RectangleShape2D_j8iw7"] size = Vector2(2, 16) [node name="Main" type="Node2D" unique_id=1753431167 node_paths=PackedStringArray("ball", "score_label")] script = ExtResource("1_qr3af") ball = NodePath("Ball") score_label = NodePath("ScoreLabel") [node name="OptionsMenu" type="LinkButton" parent="." unique_id=1620714612] offset_left = 15.0 offset_top = 17.0 offset_right = 88.0 offset_bottom = 57.0 text = "Optionen" [node name="Camera2D" type="Camera2D" parent="." unique_id=966032468] position = Vector2(576, 324) [node name="Ball" type="CharacterBody2D" parent="." unique_id=1987649111] position = Vector2(576, 324) scale = Vector2(2, 2) script = ExtResource("2_qr3af") [node name="Sprite2D" type="Sprite2D" parent="Ball" unique_id=1376160524] texture_filter = 1 texture = ExtResource("3_s0gh3") [node name="CollisionShape2D" type="CollisionShape2D" parent="Ball" unique_id=1355308215] shape = SubResource("CircleShape2D_j8iw7") [node name="SchlaegerRechts" type="CharacterBody2D" parent="." unique_id=757473239] position = Vector2(1092, 324) scale = Vector2(2, 5) motion_mode = 1 script = ExtResource("4_qr3af") [node name="Sprite2D" type="Sprite2D" parent="SchlaegerRechts" unique_id=120109385] texture_filter = 1 texture = ExtResource("5_dajfr") [node name="CollisionShape2D" type="CollisionShape2D" parent="SchlaegerRechts" unique_id=396129192] shape = SubResource("RectangleShape2D_bfdcr") [node name="SchlaegerLinks" type="CharacterBody2D" parent="." unique_id=339062000] position = Vector2(60, 324) scale = Vector2(2, 5) motion_mode = 1 script = ExtResource("6_qr3af") [node name="Sprite2D" type="Sprite2D" parent="SchlaegerLinks" unique_id=295421432] texture_filter = 1 texture = ExtResource("5_dajfr") [node name="CollisionShape2D" type="CollisionShape2D" parent="SchlaegerLinks" unique_id=297131425] shape = SubResource("RectangleShape2D_j8iw7") [node name="ScoreLabel" type="Label" parent="." unique_id=1588816466] offset_left = 519.0 offset_top = 216.0 offset_right = 633.0 offset_bottom = 266.0 theme_override_font_sizes/font_size = 36 text = "Punkt!" horizontal_alignment = 1 [connection signal="pressed" from="OptionsMenu" to="." method="_on_options_menu_pressed"]