[gd_scene load_steps=4 format=2] [ext_resource path="res://component/entity/chick/anim/ChickenSpriteFrame.tres" type="SpriteFrames" id=1] [ext_resource path="res://component/entity/chick/Chicken.gd" type="Script" id=2] [sub_resource type="CircleShape2D" id=1] radius = 34.9763 [node name="Chicken" type="KinematicBody2D" groups=["chicken"]] collision_layer = 2 script = ExtResource( 2 ) [node name="AnimatedSprite" type="AnimatedSprite" parent="."] position = Vector2( 0, 9.53674e-07 ) frames = ExtResource( 1 ) animation = "walk" [node name="Shape" type="CollisionShape2D" parent="."] shape = SubResource( 1 ) [node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."] rect = Rect2( -40, -40, 80, 80 ) [node name="AngryTimer" type="Timer" parent="."] process_mode = 0 one_shot = true __meta__ = { "_editor_description_": "The time the chicken will stop when hit before it starts running." } [connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"] [connection signal="timeout" from="AngryTimer" to="." method="_on_AngryTimer_timeout"]