A game created for the Godot Wild Jam #21
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.1KB

  1. [gd_scene load_steps=9 format=2]
  2. [ext_resource path="res://Data/Scripts/Controller.gd" type="Script" id=1]
  3. [ext_resource path="res://icon.png" type="Texture" id=3]
  4. [ext_resource path="res://Data/Shaders/WaveFish.shader" type="Shader" id=5]
  5. [sub_resource type="CircleShape2D" id=1]
  6. radius = 16.0
  7. [sub_resource type="Curve" id=4]
  8. _data = [ Vector2( 0, 1 ), 0.0, 0.219234, 0, 0, Vector2( 1, 0.434091 ), -0.228985, 0.0, 0, 0 ]
  9. [sub_resource type="CurveTexture" id=5]
  10. curve = SubResource( 4 )
  11. [sub_resource type="ParticlesMaterial" id=6]
  12. lifetime_randomness = 0.52
  13. emission_shape = 1
  14. emission_sphere_radius = 16.0
  15. flag_disable_z = true
  16. direction = Vector3( 0, 0, 0 )
  17. spread = 0.0
  18. gravity = Vector3( 0, 0, 0 )
  19. orbit_velocity = 0.0
  20. orbit_velocity_random = 0.0
  21. damping = 12.0
  22. damping_random = 0.41
  23. angle = 45.0
  24. angle_random = 0.85
  25. scale = 2.0
  26. scale_curve = SubResource( 5 )
  27. color = Color( 0.737255, 0.737255, 0.737255, 1 )
  28. [sub_resource type="ShaderMaterial" id=8]
  29. shader = ExtResource( 5 )
  30. shader_param/rimWidth = 2.425
  31. shader_param/rim_color = Color( 0.870588, 0.870588, 0.870588, 1 )
  32. shader_param/cell_color = Color( 0.4, 0.690196, 0.109804, 1 )
  33. shader_param/fisheye_power = 3.0
  34. shader_param/wave_amp = 0.1
  35. shader_param/wave_freq = 0.075
  36. shader_param/wave_scale = 0.075
  37. [node name="Player" type="RigidBody2D"]
  38. collision_mask = 3
  39. contacts_reported = 1
  40. contact_monitor = true
  41. script = ExtResource( 1 )
  42. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  43. visible = false
  44. shape = SubResource( 1 )
  45. [node name="Joint" type="PinJoint2D" parent="."]
  46. visible = false
  47. bias = 0.9
  48. softness = 0.1
  49. [node name="Camera" type="Camera2D" parent="."]
  50. current = true
  51. smoothing_enabled = true
  52. [node name="Particles" type="Particles2D" parent="."]
  53. amount = 50
  54. local_coords = false
  55. process_material = SubResource( 6 )
  56. [node name="Sprite" type="Sprite" parent="."]
  57. material = SubResource( 8 )
  58. scale = Vector2( 0.5, 0.5 )
  59. texture = ExtResource( 3 )
  60. [connection signal="body_entered" from="." to="." method="_on_Player_body_entered"]
  61. [connection signal="body_exited" from="." to="." method="_on_Player_body_exited"]