summaryrefslogtreecommitdiff
path: root/scenes/hoop.tscn
blob: ddd8c5bacff46a8dfdac9f449f321637c0ace483 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[gd_scene load_steps=4 format=2]

[ext_resource path="res://textures/hoop_fore.png" type="Texture" id=1]
[ext_resource path="res://textures/hoop_back.png" type="Texture" id=2]

[sub_resource type="SegmentShape2D" id=1]
a = Vector2( 12, -21.6 )
b = Vector2( -4.6, 11.4 )

[node name="Hoop" type="StaticBody2D"]
scale = Vector2( 5, 5 )

[node name="BackgroundSprite" type="Sprite" parent="."]
light_mask = 4
z_index = -1
texture = ExtResource( 2 )

[node name="ForegroundSprite" type="Sprite" parent="."]
position = Vector2( -12, 16 )
z_index = 1
texture = ExtResource( 1 )

[node name="RightCollider" type="CollisionShape2D" parent="."]
position = Vector2( 1.6, 1 )
shape = SubResource( 1 )

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
position = Vector2( -21.8, 6.6 )
rotation = 0.546288
scale = Vector2( 0.5, 1 )
polygon = PoolVector2Array( 0.762794, -5.14728, 5.32917, 3.9975, 2.25312, 4.93263, -3.35769, 0.318554 )