summaryrefslogtreecommitdiff
path: root/hoop.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'hoop.tscn')
-rw-r--r--hoop.tscn31
1 files changed, 31 insertions, 0 deletions
diff --git a/hoop.tscn b/hoop.tscn
new file mode 100644
index 0000000..6713627
--- /dev/null
+++ b/hoop.tscn
@@ -0,0 +1,31 @@
+[gd_scene load_steps=5 format=2]
+
+[ext_resource path="res://hoop_fore.png" type="Texture" id=1]
+[ext_resource path="res://hoop_back.png" type="Texture" id=2]
+
+[sub_resource type="SegmentShape2D" id=1]
+a = Vector2( 3.8, -24.8 )
+b = Vector2( -1, 12.4 )
+
+[sub_resource type="SegmentShape2D" id=2]
+a = Vector2( 1.8, 0 )
+b = Vector2( -1.4, 9.6 )
+
+[node name="Hoop" type="StaticBody2D"]
+scale = Vector2( 5, 5 )
+
+[node name="Background Sprite" type="Sprite" parent="."]
+light_mask = 4
+texture = ExtResource( 2 )
+
+[node name="Foreground Sprite" type="Sprite" parent="."]
+position = Vector2( -12, 16 )
+texture = ExtResource( 1 )
+
+[node name="Right Collider" type="CollisionShape2D" parent="."]
+position = Vector2( 1.6, 1 )
+shape = SubResource( 1 )
+
+[node name="Left Collider" type="CollisionShape2D" parent="."]
+position = Vector2( -22, 1 )
+shape = SubResource( 2 )