hero-mark-2/objects/enemy/uncanny_cat.tscn
2024-12-05 02:21:22 -05:00

44 lines
1.2 KiB
Text

[gd_scene load_steps=5 format=2]
[ext_resource path="res://graphics/secret/uncanny.png" type="Texture" id=1]
[ext_resource path="res://objects/enemy/uncanny_cat.gd" type="Script" id=2]
[ext_resource path="res://audio/sounds/scrump_die.ogg" type="AudioStream" id=3]
[sub_resource type="CircleShape2D" id=1]
radius = 7.0
[node name="UncannyCat" type="Node2D"]
script = ExtResource( 2 )
blood = false
acceleration = 48.0
max_speed = 56.0
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="Hitbox" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
shape = SubResource( 1 )
[node name="JumpscareSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 3 )
pitch_scale = 2.0
bus = "sound"
[node name="Jumpscare" type="CanvasLayer" parent="."]
visible = false
[node name="ColorRect" type="ColorRect" parent="Jumpscare"]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 1 )
[node name="TextureRect" type="TextureRect" parent="Jumpscare"]
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 1 )
expand = true
stretch_mode = 6
[connection signal="area_entered" from="Hitbox" to="." method="_on_Hitbox_area_entered"]