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.

90 lines
2.7KB

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