PONG-Godot/Paddle.tscn

16 lines
584 B
Plaintext
Raw Normal View History

2022-08-20 15:22:38 +01:00
[gd_scene load_steps=2 format=2]
[ext_resource path="res://Paddle.gd" type="Script" id=1]
[node name="Paddle" type="KinematicBody2D" groups=["Paddle"]]
scale = Vector2( 15, 100 )
collision_mask = 0
script = ExtResource( 1 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PoolVector2Array( 1, 1, 1, -1, 0.333333, -1, -0.667, -0.75, -1.5, -0.25, -1.5, 0.25, -0.667, 0.75, 0.333333, 1 )
[node name="Polygon2D2" type="Polygon2D" parent="."]
color = Color( 0.768627, 0.768627, 0.768627, 1 )
polygon = PoolVector2Array( 1, 1, 1, -1, -1.5, -1, -1.5, 1 )