12345678910111213141516171819202122232425262728293031 |
- [gd_scene load_steps=5 format=2]
- [ext_resource path="res://image/ball.png" type="Texture" id=1]
- [ext_resource path="res://scripts/Ball.gd" type="Script" id=2]
- [sub_resource type="PhysicsMaterial" id=1]
- friction = 0.0
- bounce = 1.0
- [sub_resource type="CircleShape2D" id=2]
- radius = 5.0
- [node name="Ball" type="RigidBody2D" groups=[
- "ball",
- ]]
- collision_mask = 14
- mode = 2
- physics_material_override = SubResource( 1 )
- gravity_scale = 0.0
- continuous_cd = 2
- contacts_reported = 1
- linear_velocity = Vector2( 100, 100 )
- linear_damp = 0.0
- script = ExtResource( 2 )
- interrupt_color = Color( 0.705882, 0.705882, 0.705882, 1 )
- [node name="Circle" type="CollisionShape2D" parent="."]
- shape = SubResource( 2 )
- [node name="Sprite" type="Sprite" parent="."]
- texture = ExtResource( 1 )
|