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.

62 lines
1.9KB

  1. [gd_scene load_steps=9 format=2]
  2. [ext_resource path="res://Data/Scripts/Liquid.gd" type="Script" id=1]
  3. [ext_resource path="res://Data/Graphics/placeholder.png" type="Texture" id=2]
  4. [ext_resource path="res://Data/Shaders/Liquid.shader" type="Shader" id=3]
  5. [sub_resource type="ShaderMaterial" id=1]
  6. shader = ExtResource( 3 )
  7. shader_param/sprite_scale = Vector2( 2.96, 1 )
  8. shader_param/distortion = 16.265
  9. shader_param/liquid_color_main = Color( 0.180908, 0.250748, 0.8125, 1 )
  10. shader_param/liquid_color_surface = Color( 0.576471, 0.760784, 0.996078, 1 )
  11. shader_param/liquid_surface_thickness = 0.12
  12. shader_param/wave_amp = 0.25
  13. shader_param/wave_freq = 1.0
  14. shader_param/wave_scale = 1.0
  15. [sub_resource type="RectangleShape2D" id=2]
  16. extents = Vector2( 32, 31 )
  17. [sub_resource type="Curve" id=3]
  18. _data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.542553, 0 ), 0.0, 0.0, 0, 0 ]
  19. [sub_resource type="CurveTexture" id=4]
  20. curve = SubResource( 3 )
  21. [sub_resource type="ParticlesMaterial" id=5]
  22. emission_shape = 2
  23. emission_box_extents = Vector3( 2, 1, 1 )
  24. flag_disable_z = true
  25. direction = Vector3( 0, -1, 0 )
  26. spread = 86.0
  27. gravity = Vector3( 0, 98, 0 )
  28. initial_velocity = 80.0
  29. orbit_velocity = 0.0
  30. orbit_velocity_random = 0.0
  31. scale = 2.0
  32. scale_curve = SubResource( 4 )
  33. color = Color( 0.576471, 0.760784, 0.996078, 1 )
  34. [node name="Liquid" type="Sprite"]
  35. material = SubResource( 1 )
  36. texture = ExtResource( 2 )
  37. script = ExtResource( 1 )
  38. [node name="Trigger" type="Area2D" parent="."]
  39. collision_layer = 8
  40. [node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"]
  41. visible = false
  42. position = Vector2( 0, 1 )
  43. shape = SubResource( 2 )
  44. [node name="Splash" type="Particles2D" parent="."]
  45. position = Vector2( 0, -26.9157 )
  46. emitting = false
  47. amount = 80
  48. one_shot = true
  49. explosiveness = 0.75
  50. process_material = SubResource( 5 )
  51. [connection signal="body_entered" from="Trigger" to="." method="_on_Trigger_body_entered"]