[gd_scene load_steps=5 format=3 uid="uid://82mseyru28tc"]

[ext_resource type="Texture2D" uid="uid://bfhetobgi7o6j" path="res://slides/204/physics_demo/firefox-logo.png" id="1"]
[ext_resource type="Script" uid="uid://ccwphojv6ic0" path="res://slides/204/physics_demo/Ball.gd" id="2"]

[sub_resource type="PhysicsMaterial" id="2"]
friction = 0.61
bounce = 0.26

[sub_resource type="CircleShape2D" id="1"]
radius = 32.0

[node name="Ball" type="RigidBody2D"]
physics_material_override = SubResource("2")
script = ExtResource("2")

[node name="FirefoxSprite" type="Sprite2D" parent="."]
scale = Vector2(0.512, 0.512)
texture = ExtResource("1")

[node name="RoundFixture" type="CollisionShape2D" parent="."]
shape = SubResource("1")

[node name="VisibilityNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]

[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]
