Adding initial game files.
This commit is contained in:
parent
8a5d7f634c
commit
c5615cbdd8
12 changed files with 229 additions and 0 deletions
18
prefabs/paddle.tscn
Normal file
18
prefabs/paddle.tscn
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dd0cxfceqwxca"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d0dti6pba80ci" path="res://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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue