[gd_scene load_steps=9 format=2] [ext_resource path="res://component/entity/ball/Ball.gd" type="Script" id=1] [ext_resource path="res://component/entity/ball/ball.png" type="Texture" id=2] [ext_resource path="res://component/entity/ball/ball_particle.png" type="Texture" id=3] [sub_resource type="PhysicsMaterial" id=1] friction = 0.0 bounce = 1.0 [sub_resource type="CircleShape2D" id=2] radius = 5.0 [sub_resource type="Curve" id=3] _data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.290909 ), 0.0, 0.0, 0, 0 ] [sub_resource type="CurveTexture" id=4] curve = SubResource( 3 ) [sub_resource type="ParticlesMaterial" id=5] flag_disable_z = true spread = 0.0 gravity = Vector3( 0, 0, 0 ) angular_velocity = 45.0 angular_velocity_random = 1.0 orbit_velocity = 0.0 orbit_velocity_random = 0.0 angle = 180.0 angle_random = 1.0 scale = 0.5 scale_random = 0.5 scale_curve = SubResource( 4 ) [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 = 2 linear_velocity = Vector2( 100, 100 ) linear_damp = 0.0 script = ExtResource( 1 ) 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( 2 ) [node name="Trail" type="Particles2D" parent="."] lifetime = 0.1 local_coords = false process_material = SubResource( 5 ) texture = ExtResource( 3 )