diff options
Diffstat (limited to 'scenes/basketball.tscn')
-rw-r--r-- | scenes/basketball.tscn | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/scenes/basketball.tscn b/scenes/basketball.tscn index b3519c3..cdf2b5d 100644 --- a/scenes/basketball.tscn +++ b/scenes/basketball.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=5 format=2] [ext_resource path="res://textures/basketball.png" type="Texture" id=1] [ext_resource path="res://scripts/basketball.gd" type="Script" id=2] @@ -9,9 +9,6 @@ bounce = 0.65 [sub_resource type="CircleShape2D" id=1] radius = 8.0 -[sub_resource type="CircleShape2D" id=3] -radius = 30.0 - [node name="Basketball" type="RigidBody2D"] physics_material_override = SubResource( 2 ) script = ExtResource( 2 ) @@ -30,17 +27,10 @@ texture = ExtResource( 1 ) [node name="Sprite" type="Sprite" parent="."] texture = ExtResource( 1 ) -[node name="OuterShape" type="Area2D" parent="."] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="OuterShape"] -shape = SubResource( 3 ) - [node name="InnerShape" type="Area2D" parent="."] [node name="CollisionShape2D2" type="CollisionShape2D" parent="InnerShape"] shape = SubResource( 1 ) -[connection signal="mouse_entered" from="OuterShape" to="." method="on_OuterShape_mouse_entered"] -[connection signal="mouse_exited" from="OuterShape" to="." method="_on_OuterShape_mouse_exited"] [connection signal="mouse_entered" from="InnerShape" to="." method="_on_InnerShape_mouse_entered"] [connection signal="mouse_exited" from="InnerShape" to="." method="_on_InnerShape_mouse_exited"] |