|
- [gd_scene load_steps=9 format=2]
-
- [ext_resource path="res://Data/Scripts/Controller.gd" type="Script" id=1]
- [ext_resource path="res://icon.png" type="Texture" id=3]
- [ext_resource path="res://Data/Shaders/WaveFish.shader" type="Shader" id=5]
-
- [sub_resource type="CircleShape2D" id=1]
- radius = 16.0
-
- [sub_resource type="Curve" id=4]
- _data = [ Vector2( 0, 1 ), 0.0, 0.219234, 0, 0, Vector2( 1, 0.434091 ), -0.228985, 0.0, 0, 0 ]
-
- [sub_resource type="CurveTexture" id=5]
- curve = SubResource( 4 )
-
- [sub_resource type="ParticlesMaterial" id=6]
- lifetime_randomness = 0.52
- emission_shape = 1
- emission_sphere_radius = 16.0
- flag_disable_z = true
- direction = Vector3( 0, 0, 0 )
- spread = 0.0
- gravity = Vector3( 0, 0, 0 )
- orbit_velocity = 0.0
- orbit_velocity_random = 0.0
- damping = 12.0
- damping_random = 0.41
- angle = 45.0
- angle_random = 0.85
- scale = 2.0
- scale_curve = SubResource( 5 )
- color = Color( 0.737255, 0.737255, 0.737255, 1 )
-
- [sub_resource type="ShaderMaterial" id=8]
- shader = ExtResource( 5 )
- shader_param/rimWidth = 2.425
- shader_param/rim_color = Color( 0.870588, 0.870588, 0.870588, 1 )
- shader_param/cell_color = Color( 0.4, 0.690196, 0.109804, 1 )
- shader_param/fisheye_power = 3.0
- shader_param/wave_amp = 0.1
- shader_param/wave_freq = 0.075
- shader_param/wave_scale = 0.075
-
- [node name="Player" type="RigidBody2D"]
- collision_mask = 3
- contacts_reported = 1
- contact_monitor = true
- script = ExtResource( 1 )
-
- [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
- visible = false
- shape = SubResource( 1 )
-
- [node name="Joint" type="PinJoint2D" parent="."]
- visible = false
- bias = 0.9
- softness = 0.1
-
- [node name="Camera" type="Camera2D" parent="."]
- current = true
- smoothing_enabled = true
-
- [node name="Particles" type="Particles2D" parent="."]
- amount = 50
- local_coords = false
- process_material = SubResource( 6 )
-
- [node name="Sprite" type="Sprite" parent="."]
- material = SubResource( 8 )
- scale = Vector2( 0.5, 0.5 )
- texture = ExtResource( 3 )
- [connection signal="body_entered" from="." to="." method="_on_Player_body_entered"]
- [connection signal="body_exited" from="." to="." method="_on_Player_body_exited"]
|