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.

79 lines
2.2KB

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