Files
blorgshooter/enemy_chompyboy.tscn
2025-08-12 04:38:42 -04:00

37 lines
1.5 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://dvb5fostba705"]
[ext_resource type="Texture2D" uid="uid://d30ontr00bwm3" path="res://sprites/enemies/chompyboy_front1.png" id="1_5crtd"]
[ext_resource type="Script" uid="uid://cl5e3d87p1xm0" path="res://scripts/enemy_chompyboy.gd" id="1_fj5dv"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ydwcx"]
[node name="ChompyBoy" type="CharacterBody3D"]
script = ExtResource("1_fj5dv")
[node name="Sprite" type="Sprite3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
pixel_size = 0.003
billboard = 1
texture = ExtResource("1_5crtd")
[node name="hitflash_timer" type="Timer" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_ydwcx")
[node name="chase_timer" type="Timer" parent="."]
[node name="ai_timer" type="Timer" parent="."]
[node name="perception_timer" type="Timer" parent="."]
[node name="sightchecker" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
debug_shape_custom_color = Color(0.73, 0, 0.705667, 1)
[connection signal="timeout" from="hitflash_timer" to="." method="_on_hitflash_timer_timeout"]
[connection signal="timeout" from="chase_timer" to="." method="_on_chase_timer_timeout"]
[connection signal="timeout" from="ai_timer" to="." method="_on_ai_timer_timeout"]
[connection signal="timeout" from="perception_timer" to="." method="_on_perception_timer_timeout"]