Ball.tscn 525 B

12345678910111213141516171819
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://labs/cascade/component/ball/firefox-logo.png" type="Texture" id=1]
  3. [sub_resource type="PhysicsMaterial" id=2]
  4. bounce = 0.22
  5. [sub_resource type="CircleShape2D" id=1]
  6. radius = 4.0
  7. [node name="Ball" type="RigidBody2D"]
  8. physics_material_override = SubResource( 2 )
  9. [node name="FirefoxSprite" type="Sprite" parent="."]
  10. scale = Vector2( 0.064, 0.064 )
  11. texture = ExtResource( 1 )
  12. [node name="RoundFixture" type="CollisionShape2D" parent="."]
  13. shape = SubResource( 1 )