342175f4c3
Includes full design documentation (ARCHITECTURE, DESIGN_NOTES, CONTENT_SPEC, PRODUCTION_NOTES) and active Godot 4 / GDScript codebase. Core systems built: player, floor generation, room system, enemy base, body part upgrades, run manager, save system, HUD, EventBus.
35 lines
954 B
Plaintext
35 lines
954 B
Plaintext
[gd_scene load_steps=4 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/enemies/repeater.gd" id="1"]
|
|
|
|
[sub_resource type="CircleShape2D" id="1"]
|
|
radius = 10.0
|
|
|
|
[sub_resource type="CircleShape2D" id="2"]
|
|
radius = 12.0
|
|
|
|
[node name="Repeater" type="CharacterBody2D"]
|
|
collision_layer = 8
|
|
collision_mask = 1
|
|
script = ExtResource("1")
|
|
|
|
[node name="Collision" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("1")
|
|
|
|
[node name="Visual" type="Node2D" parent="."]
|
|
|
|
[node name="Body" type="Polygon2D" parent="Visual"]
|
|
polygon = PackedVector2Array(0, -14, 12, 0, 0, 14, -12, 0)
|
|
color = Color(0.8, 0.35, 0.05, 1)
|
|
|
|
[node name="Eye" type="Polygon2D" parent="Visual"]
|
|
polygon = PackedVector2Array(-3, -6, 3, -6, 3, -2, -3, -2)
|
|
color = Color(1.0, 0.85, 0.3, 1)
|
|
|
|
[node name="ContactArea" type="Area2D" parent="."]
|
|
collision_layer = 0
|
|
collision_mask = 2
|
|
|
|
[node name="ContactCollision" type="CollisionShape2D" parent="ContactArea"]
|
|
shape = SubResource("2")
|