[gd_scene load_steps=7 format=2] [ext_resource path="res://art/WizardM.png" type="Texture" id=1] [ext_resource path="res://npc/Wizard.gd" type="Script" id=2] [ext_resource path="res://Music and Fonts(Misc.)/m5x7.tres" type="DynamicFont" id=3] [sub_resource type="Animation" id=1] resource_name = "Idle" length = 0.6 loop = true step = 0.05 tracks/0/type = "value" tracks/0/path = NodePath("Sprite:frame") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.15, 0.3, 0.45 ), "transitions": PoolRealArray( 1, 1, 1, 1 ), "update": 1, "values": [ 0, 1, 2, 3 ] } [sub_resource type="Animation" id=3] resource_name = "Typewriter" length = 1.5 tracks/0/type = "value" tracks/0/path = NodePath("Label:percent_visible") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 1.5 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ 0.0, 1.0 ] } [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 7, 7 ) [node name="Wizard" type="KinematicBody2D"] collision_mask = 3 script = ExtResource( 2 ) [node name="Sprite" type="Sprite" parent="."] position = Vector2( 0, -12 ) texture = ExtResource( 1 ) vframes = 3 hframes = 4 frame = 3 [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "Idle" anims/Idle = SubResource( 1 ) [node name="Typewriter" type="AnimationPlayer" parent="."] anims/Typewriter = SubResource( 3 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2( 0, -7 ) shape = SubResource( 2 ) [node name="Label" type="Label" parent="."] margin_left = -55.0 margin_top = -63.0 margin_right = 55.0 margin_bottom = -26.0 custom_fonts/font = ExtResource( 3 ) align = 1 valign = 1 autowrap = true percent_visible = 0.0 __meta__ = { "_edit_use_anchors_": false } [node name="Timer" type="Timer" parent="."] wait_time = 4.0 [node name="Delay" type="Timer" parent="."] one_shot = true autostart = true [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] [connection signal="timeout" from="Delay" to="." method="_on_Delay_timeout"]