You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
646 B
22 lines
646 B
[gd_scene load_steps=3 format=3 uid="uid://b0paddle0001"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/paddle.gd" id="1_paddle"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_paddle"]
|
|
size = Vector2(96, 16)
|
|
|
|
[node name="Paddle" type="CharacterBody2D"]
|
|
position = Vector2(640, 640)
|
|
collision_layer = 1
|
|
collision_mask = 0
|
|
script = ExtResource("1_paddle")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_paddle")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
offset_left = -48.0
|
|
offset_top = -8.0
|
|
offset_right = 48.0
|
|
offset_bottom = 8.0
|
|
color = Color(0.4, 0.6, 1, 1)
|
|
|