summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan <logan@cflip.net>2022-09-23 20:30:27 -0600
committerLogan <logan@cflip.net>2022-09-23 20:30:27 -0600
commitd0915c865ae0f56e05e92cee798dffa6b494a682 (patch)
treeaf3f74191bb4a72ebd38d8a01720674d32fea468
parent93a99218ae4d5c4c26fe3a5a7433c39a2df6e149 (diff)
Adjusted collision shapes.
-rw-r--r--hoop.tscn (renamed from Hoop.tscn)12
-rw-r--r--level.tscn4
2 files changed, 7 insertions, 9 deletions
diff --git a/Hoop.tscn b/hoop.tscn
index 0bb357f..6713627 100644
--- a/Hoop.tscn
+++ b/hoop.tscn
@@ -4,17 +4,15 @@
[ext_resource path="res://hoop_back.png" type="Texture" id=2]
[sub_resource type="SegmentShape2D" id=1]
-a = Vector2( 0, -23 )
-b = Vector2( 0, 13 )
+a = Vector2( 3.8, -24.8 )
+b = Vector2( -1, 12.4 )
[sub_resource type="SegmentShape2D" id=2]
-b = Vector2( 0, 13 )
+a = Vector2( 1.8, 0 )
+b = Vector2( -1.4, 9.6 )
[node name="Hoop" type="StaticBody2D"]
scale = Vector2( 5, 5 )
-__meta__ = {
-"_edit_group_": true
-}
[node name="Background Sprite" type="Sprite" parent="."]
light_mask = 4
@@ -25,7 +23,7 @@ position = Vector2( -12, 16 )
texture = ExtResource( 1 )
[node name="Right Collider" type="CollisionShape2D" parent="."]
-position = Vector2( -4, 1 )
+position = Vector2( 1.6, 1 )
shape = SubResource( 1 )
[node name="Left Collider" type="CollisionShape2D" parent="."]
diff --git a/level.tscn b/level.tscn
index 7d4256f..bf6281c 100644
--- a/level.tscn
+++ b/level.tscn
@@ -2,14 +2,14 @@
[ext_resource path="res://icon.png" type="Texture" id=1]
[ext_resource path="res://basketball.tscn" type="PackedScene" id=2]
-[ext_resource path="res://Hoop.tscn" type="PackedScene" id=3]
+[ext_resource path="res://hoop.tscn" type="PackedScene" id=3]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 512, 10 )
[node name="Node2D" type="Node2D"]
-[node name="Hoop" parent="." instance=ExtResource( 3 )]
+[node name="hoop" parent="." instance=ExtResource( 3 )]
position = Vector2( 721, 409 )
[node name="Basketball" parent="." instance=ExtResource( 2 )]