[gd_scene load_steps=3 format=2] [ext_resource path="res://scripts/CustomControls/Cat.gd" type="Script" id=2] [sub_resource type="StyleBoxEmpty" id=1] [node name="Cat" type="Node2D"] z_index = 99 script = ExtResource( 2 ) [node name="catTexture" type="TextureRect" parent="."] [node name="pawTexture" type="TextureRect" parent="."] visible = false [node name="Body" type="Button" parent="."] margin_right = 12.0 margin_bottom = 20.0 custom_styles/focus = SubResource( 1 ) shortcut_in_tooltip = false flat = true [node name="Tail" type="Button" parent="."] margin_left = 261.0 margin_top = 33.0 margin_right = 360.0 margin_bottom = 134.0 custom_styles/focus = SubResource( 1 ) shortcut_in_tooltip = false flat = true [node name="CatStreamPlayer" type="AudioStreamPlayer" parent="."] bus = "SFX" [connection signal="resized" from="catTexture" to="." method="_on_catTexture_resized"] [connection signal="mouse_entered" from="Body" to="." method="_on_Cat_mouse_entered"] [connection signal="mouse_exited" from="Body" to="." method="_on_Cat_mouse_exited"] [connection signal="pressed" from="Body" to="." method="_on_Body_pressed"] [connection signal="mouse_entered" from="Tail" to="." method="_on_Cat_mouse_entered"] [connection signal="mouse_exited" from="Tail" to="." method="_on_Cat_mouse_exited"] [connection signal="pressed" from="Tail" to="." method="_on_Tail_pressed"]