09d4a60f43
Move every script and scene into role-based directories (actors/, systems/, ui/, levels/, props/) and all raw art under art/ (grouped by role, snake_case, Extract-Textures GLBs), dropping Blender version-suffix noise. Filenames are snake_case (PascalCase reserved for class_name) to avoid case-insensitive filesystem aliasing on the web/macOS targets. Routes the bull's hits through the typed DamageEvent pipeline and wires the bull's abilities to the Fx library. Updates CLAUDE.md's folder-layout overview to match. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CCyaJPTHCH9EDthpf4A5Sj
21 lines
747 B
Plaintext
21 lines
747 B
Plaintext
[gd_scene format=3 uid="uid://c8swordwrap01"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://xyvank512l5n" path="res://art/weapons/sword.glb" id="1_swordglb"]
|
|
[ext_resource type="Script" path="res://systems/combat/hitbox.gd" id="2_hitbox"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_blade"]
|
|
radius = 0.18
|
|
height = 1.3
|
|
|
|
[node name="Sword" type="Node3D"]
|
|
|
|
[node name="sword" parent="." instance=ExtResource("1_swordglb")]
|
|
|
|
[node name="BladeHitbox" type="Area3D" parent="."]
|
|
script = ExtResource("2_hitbox")
|
|
damage_cause = "gored"
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="BladeHitbox"]
|
|
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, -1, 0, 1, -4.371139e-08, 0, 0, 0.8)
|
|
shape = SubResource("CapsuleShape3D_blade")
|