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.

ExitVortex.tscn 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [gd_scene load_steps=8 format=2]
  2. [ext_resource path="res://Data/Graphics/vortex.png" type="Texture" id=1]
  3. [ext_resource path="res://Data/Scripts/ExitVortex.gd" type="Script" id=2]
  4. [ext_resource path="res://Data/Shaders/rotation_shader.shader" type="Shader" id=3]
  5. [sub_resource type="ShaderMaterial" id=9]
  6. resource_local_to_scene = true
  7. shader = ExtResource( 3 )
  8. shader_param/rot_speed = 0.356
  9. [sub_resource type="ShaderMaterial" id=7]
  10. shader = ExtResource( 3 )
  11. shader_param/rot_speed = 1.0
  12. [sub_resource type="ShaderMaterial" id=8]
  13. resource_local_to_scene = true
  14. shader = ExtResource( 3 )
  15. shader_param/rot_speed = -3.5
  16. [sub_resource type="CircleShape2D" id=10]
  17. radius = 64.0
  18. [node name="ExitVortex" type="Node2D"]
  19. script = ExtResource( 2 )
  20. [node name="BlueSwirl" type="Sprite" parent="."]
  21. modulate = Color( 0.552941, 0.54902, 0.996078, 0.784314 )
  22. material = SubResource( 9 )
  23. scale = Vector2( 0.5, -0.5 )
  24. texture = ExtResource( 1 )
  25. [node name="GreenSwirl" type="Sprite" parent="."]
  26. modulate = Color( 0.443137, 0.941176, 0.623529, 0.784314 )
  27. material = SubResource( 7 )
  28. scale = Vector2( 0.5, 0.5 )
  29. texture = ExtResource( 1 )
  30. [node name="RedSwirl" type="Sprite" parent="."]
  31. modulate = Color( 0.996078, 0.54902, 0.54902, 0.784314 )
  32. material = SubResource( 8 )
  33. scale = Vector2( -0.5, 0.5 )
  34. texture = ExtResource( 1 )
  35. [node name="Area2D" type="Area2D" parent="."]
  36. visible = false
  37. [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
  38. shape = SubResource( 10 )
  39. [connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]