7b6a141767
Move the 40-odd root-level scripts and scenes into a tree that groups by role,
per the approved roadmap (WS2/WS3): actors/{player,matador,bear}, systems/{combat,
fx,input,debug,render,crowd,config}, ui/, props/ (was tscn_s/). Rename the shell
scene.tscn -> levels/game_shell.tscn and every PascalCase scene to snake_case
(Player.tscn -> player.tscn, MainMenu.tscn -> main_menu.tscn, etc.) so the
case-insensitive web/macOS filesystems can't alias two files together.
Done as a scripted move: each file travels with its .uid; every quoted res:// path
across scenes, scripts, .tres, and project.godot's 9 autoloads is rewritten; the
.godot uid/class cache is rebuilt from scratch. Scenes still resolve by uid, so the
rewrite is belt-and-suspenders. Lint globs (run_tests.sh + both CI workflows) now
walk the new dirs; an orphan animation_tree.gd.uid and 7 pre-existing trailing-
whitespace lints (barrel/torch, never covered by the old root-only glob) are cleaned.
Full suite green on both sides. Asset consolidation (Assets/Animations/fonts ->
art/) is deferred — moving imported .glb/.png/.ttf is safer done in the editor.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017KoYBYQgRyY1zDHXMsXY3V
71 lines
2.3 KiB
Plaintext
71 lines
2.3 KiB
Plaintext
[gd_scene format=3]
|
|
|
|
[ext_resource type="Script" path="res://systems/combat/hitbox.gd" id="1_qxn4a"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_6dow8"]
|
|
height = 3.0
|
|
radius = 4.0
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_tmmfg"]
|
|
size = Vector3(2.6, 2.5, 20)
|
|
|
|
[sub_resource type="Animation" id="Animation_wcwtv"]
|
|
length = 0.25
|
|
tracks/0/type = "scale_3d"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("LeapSlamHitbox/CollisionShape3D")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = PackedFloat32Array(0, 1, 0.12, 1, 0.12, 0.06, 1, 1, 1, 1, 0.25, 1, 1, 1, 1)
|
|
|
|
[sub_resource type="Animation" id="Animation_bg5u7"]
|
|
length = 0.3
|
|
tracks/0/type = "scale_3d"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("SmashHitbox/CollisionShape3D")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = PackedFloat32Array(0, 1, 1, 1, 0.02, 0.1, 1, 1, 1, 1, 0.3, 1, 1, 1, 1)
|
|
tracks/1/type = "position_3d"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("SmashHitbox/CollisionShape3D")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = PackedFloat32Array(0, 1, 0, 0.9, 0.2, 0.1, 1, 0, 0.9, 10, 0.3, 1, 0, 0.9, 10)
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_u1id2"]
|
|
_data = {
|
|
&"leap_slam": SubResource("Animation_wcwtv"),
|
|
&"smash_travel": SubResource("Animation_bg5u7")
|
|
}
|
|
|
|
[node name="AttackHitboxes" type="Node3D" unique_id=2010404706]
|
|
|
|
[node name="LeapSlamHitbox" type="Area3D" parent="." unique_id=1751893032]
|
|
collision_layer = 0
|
|
collision_mask = 2
|
|
monitoring = false
|
|
monitorable = false
|
|
script = ExtResource("1_qxn4a")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="LeapSlamHitbox" unique_id=1320172052]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
|
|
shape = SubResource("CylinderShape3D_6dow8")
|
|
|
|
[node name="SmashHitbox" type="Area3D" parent="." unique_id=1579648726]
|
|
collision_layer = 0
|
|
collision_mask = 2
|
|
monitoring = false
|
|
monitorable = false
|
|
script = ExtResource("1_qxn4a")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="SmashHitbox" unique_id=528637962]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 10)
|
|
shape = SubResource("BoxShape3D_tmmfg")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=2139876757]
|
|
libraries/ = SubResource("AnimationLibrary_u1id2")
|