A game created for the Godot Wild Jam #21
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

80 Zeilen
2.3KB

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