|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- [gd_scene load_steps=8 format=2]
-
- [ext_resource path="res://Data/Graphics/vortex.png" type="Texture" id=1]
- [ext_resource path="res://Data/Scripts/ExitVortex.gd" type="Script" id=2]
- [ext_resource path="res://Data/Shaders/rotation_shader.shader" type="Shader" id=3]
-
- [sub_resource type="ShaderMaterial" id=9]
- resource_local_to_scene = true
- shader = ExtResource( 3 )
- shader_param/rot_speed = 0.356
-
- [sub_resource type="ShaderMaterial" id=7]
- shader = ExtResource( 3 )
- shader_param/rot_speed = 1.0
-
- [sub_resource type="ShaderMaterial" id=8]
- resource_local_to_scene = true
- shader = ExtResource( 3 )
- shader_param/rot_speed = -3.5
-
- [sub_resource type="CircleShape2D" id=10]
- radius = 64.0
-
- [node name="ExitVortex" type="Node2D"]
- script = ExtResource( 2 )
-
- [node name="BlueSwirl" type="Sprite" parent="."]
- modulate = Color( 0.552941, 0.54902, 0.996078, 0.784314 )
- material = SubResource( 9 )
- scale = Vector2( 0.5, -0.5 )
- texture = ExtResource( 1 )
-
- [node name="GreenSwirl" type="Sprite" parent="."]
- modulate = Color( 0.443137, 0.941176, 0.623529, 0.784314 )
- material = SubResource( 7 )
- scale = Vector2( 0.5, 0.5 )
- texture = ExtResource( 1 )
-
- [node name="RedSwirl" type="Sprite" parent="."]
- modulate = Color( 0.996078, 0.54902, 0.54902, 0.784314 )
- material = SubResource( 8 )
- scale = Vector2( -0.5, 0.5 )
- texture = ExtResource( 1 )
-
- [node name="Area2D" type="Area2D" parent="."]
- visible = false
-
- [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
- shape = SubResource( 10 )
- [connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
|