[gd_scene load_steps=9 format=2] [ext_resource path="res://assets/neutral object/blobby1Flag.png" type="Texture" id=1] [ext_resource path="res://assets/neutral object/flagPoleAndBasePlant.png" type="Texture" id=2] [ext_resource path="res://src/Environment/FlagMaterial.tres" type="Material" id=3] [ext_resource path="res://src/BenefitialObjects/SavePoint.gd" type="Script" id=4] [ext_resource path="res://assets/sounds/Short Rising Flutter.wav" type="AudioStream" id=5] [sub_resource type="Animation" id=2] length = 0.001 tracks/0/type = "value" tracks/0/path = NodePath("Flag:material:shader_param/speed") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ 0.6 ] } tracks/1/type = "value" tracks/1/path = NodePath("Flag:material:shader_param/frequency_y") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ 10.0 ] } tracks/2/type = "value" tracks/2/path = NodePath("Flag:material:shader_param/frequency_x") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ 3.0 ] } tracks/3/type = "value" tracks/3/path = NodePath("Flag:material:shader_param/amplitude") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ 1.0 ] } tracks/4/type = "value" tracks/4/path = NodePath("Flag:material:shader_param/inclination") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/imported = false tracks/4/enabled = true tracks/4/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ 1.0 ] } tracks/5/type = "value" tracks/5/path = NodePath("Flag:texture_offset") tracks/5/interp = 1 tracks/5/loop_wrap = true tracks/5/imported = false tracks/5/enabled = true tracks/5/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ Vector2( 27, 0 ) ] } [sub_resource type="Animation" id=3] resource_name = "rolloutflag" tracks/0/type = "value" tracks/0/path = NodePath("Flag:material:shader_param/speed") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 1 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ 0.0, 0.6 ] } tracks/1/type = "value" tracks/1/path = NodePath("Flag:material:shader_param/amplitude") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0, 1 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ 0.0, 1.0 ] } tracks/2/type = "value" tracks/2/path = NodePath("Flag:material:shader_param/inclination") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( 0, 1 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ 0.0, 1.0 ] } tracks/3/type = "value" tracks/3/path = NodePath("Flag:texture_offset") tracks/3/interp = 2 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0, 1 ), "transitions": PoolRealArray( 1, 0.196146 ), "update": 0, "values": [ Vector2( 27, 0 ), Vector2( 0, 0 ) ] } [sub_resource type="CapsuleShape2D" id=1] radius = 12.0 [node name="SavePoint" type="Node2D"] script = ExtResource( 4 ) [node name="FlagPole" type="Sprite" parent="."] z_index = 1 texture = ExtResource( 2 ) [node name="Flag" type="Polygon2D" parent="."] show_behind_parent = true light_mask = 0 material = ExtResource( 3 ) position = Vector2( -24, -24 ) z_as_relative = false texture = ExtResource( 1 ) texture_offset = Vector2( 27, 0 ) invert_border = 0.1 polygon = PoolVector2Array( 10, 35, 36, 35, 36, 20, 10, 20, 12, 20, 14, 20, 16, 20, 18, 20, 20, 20, 22, 20, 24, 20, 26, 20, 28, 20, 30, 20, 32, 20, 34, 20, 34, 35, 32, 35, 30, 35, 28, 35, 26, 35, 24, 35, 22, 35, 20, 35, 18, 35, 16, 35, 14, 35, 12, 35 ) uv = PoolVector2Array( 10, 35, 36, 35, 36, 20, 10, 20, 12, 20, 14, 20, 16, 20, 18, 20, 20, 20, 22, 20, 24, 20, 26, 20, 28, 20, 30, 20, 32, 20, 34, 20, 34, 35, 32, 35, 30, 35, 28, 35, 26, 35, 24, 35, 22, 35, 20, 35, 18, 35, 16, 35, 14, 35, 12, 35 ) polygons = [ PoolIntArray( 3, 4, 41 ), PoolIntArray( 5, 34, 4 ), PoolIntArray( 0, 27, 4 ), PoolIntArray( 4, 26, 27 ), PoolIntArray( 5, 4, 26 ), PoolIntArray( 5, 26, 25 ), PoolIntArray( 6, 5, 25 ), PoolIntArray( 6, 25, 24 ), PoolIntArray( 6, 7, 24 ), PoolIntArray( 7, 24, 23 ), PoolIntArray( 7, 8, 23 ), PoolIntArray( 8, 23, 22 ), PoolIntArray( 8, 9, 22 ), PoolIntArray( 9, 22, 21 ), PoolIntArray( 9, 10, 21 ), PoolIntArray( 10, 11, 21 ), PoolIntArray( 20, 21, 11 ), PoolIntArray( 11, 20, 19 ), PoolIntArray( 11, 19, 12 ), PoolIntArray( 12, 19, 18 ), PoolIntArray( 12, 13, 18 ), PoolIntArray( 13, 14, 18 ), PoolIntArray( 17, 18, 14 ), PoolIntArray( 17, 16, 14 ), PoolIntArray( 15, 14, 16 ), PoolIntArray( 15, 1, 16 ), PoolIntArray( 2, 1, 15 ), PoolIntArray( 3, 0, 4 ) ] internal_vertex_count = 24 [node name="AnimationPlayer" type="AnimationPlayer" parent="."] anims/RESET = SubResource( 2 ) anims/rolloutflag = SubResource( 3 ) [node name="SaveArea" type="Area2D" parent="."] collision_layer = 0 monitorable = false [node name="CollisionShape2D" type="CollisionShape2D" parent="SaveArea"] position = Vector2( -15, 6 ) shape = SubResource( 1 ) [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] stream = ExtResource( 5 ) volume_db = -16.836 bus = "Effects" [connection signal="area_entered" from="SaveArea" to="." method="_on_SaveArea_area_entered"]