diff options
Diffstat (limited to 'scenes/hoop.tscn')
-rw-r--r-- | scenes/hoop.tscn | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/scenes/hoop.tscn b/scenes/hoop.tscn index 7183d85..2efdbc8 100644 --- a/scenes/hoop.tscn +++ b/scenes/hoop.tscn @@ -1,49 +1,50 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=6 format=3 uid="uid://dbcc3l74gqjjo"] -[ext_resource path="res://textures/hoop_fore.png" type="Texture2D" id=1] -[ext_resource path="res://textures/hoop_back.png" type="Texture2D" id=2] -[ext_resource path="res://scripts/hoop.gd" type="Script" id=3] +[ext_resource type="Texture2D" uid="uid://djxcqmro8usq" path="res://textures/hoop_fore.png" id="1"] +[ext_resource type="Texture2D" uid="uid://buvj1niafrqgw" path="res://textures/hoop_back.png" id="2"] +[ext_resource type="Script" path="res://scripts/hoop.gd" id="3"] -[sub_resource type="SegmentShape2D" id=1] -a = Vector2( 5.8, -12.4 ) -b = Vector2( -4.6, 11.4 ) +[sub_resource type="SegmentShape2D" id="1"] +a = Vector2(5.8, -12.4) +b = Vector2(-4.6, 11.4) -[sub_resource type="RectangleShape2D" id=2] -size = Vector2( 6.3, 0.55 ) +[sub_resource type="RectangleShape2D" id="2"] +size = Vector2(6.3, 0.55) [node name="Hoop" type="StaticBody2D"] -script = ExtResource( 3 ) +script = ExtResource("3") [node name="BackgroundSprite" type="Sprite2D" parent="."] +visible = false light_mask = 4 z_index = -1 -texture = ExtResource( 2 ) +texture = ExtResource("2") [node name="ForegroundSprite" type="Sprite2D" parent="."] -position = Vector2( -12, 16 ) z_index = 1 -texture = ExtResource( 1 ) +position = Vector2(-12, 16) +texture = ExtResource("1") [node name="RightCollider" type="CollisionShape2D" parent="."] -position = Vector2( 1.6, 1 ) -shape = SubResource( 1 ) +position = Vector2(1.6, 1) +shape = SubResource("1") [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] -position = Vector2( -21.8, 6.6 ) +position = Vector2(-21.8, 6.6) rotation = 0.546288 -scale = Vector2( 0.5, 1 ) -polygon = PackedVector2Array( 0.762794, -5.14728, 5.32917, 3.9975, 2.25312, 4.93263, -3.35769, 0.318554 ) +scale = Vector2(0.5, 1) +polygon = PackedVector2Array(0.762794, -5.14728, 5.32917, 3.9975, 2.25312, 4.93263, -3.35769, 0.318554) [node name="Area2D" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] -position = Vector2( -12.7, 10.75 ) -shape = SubResource( 2 ) +position = Vector2(-12.7, 10.75) +shape = SubResource("2") [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="."] -position = Vector2( -12.5, 14.4 ) +position = Vector2(-12.5, 14.4) rotation = 3.14159 -polygon = PackedVector2Array( 10.9, 3.20002, -11.1, 3.19997, -8.49998, -3.60003, 7.50002, -3.59999 ) +polygon = PackedVector2Array(10.9, 3.20002, -11.1, 3.19997, -8.49998, -3.60003, 7.50002, -3.59999) one_way_collision = true [connection signal="body_exited" from="Area2D" to="." method="_on_Area2D_body_exited"] |