Add prototype gameplay loop with character/battlefield assets and server game APIs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-10-20 18:50:00 +08:00
co-authored by Cursor
parent 79369e4473
commit 6c64210331
833 changed files with 998079 additions and 1042 deletions
+66
View File
@@ -0,0 +1,66 @@
{
"schemaVersion": 1,
"id": "RockBall",
"kind": "Animal",
"profile": "biped_short",
"height": 0.55,
"maxTriangles": 2000,
"assetRoot": "Assets/Bundles/Characters/Animal/RockBall",
"staticPrefab": "Assets/Bundles/Characters/Animal/RockBall/RockBall.prefab",
"approvedMesh": "AIClient/Assets/Bundles/Characters/Animal/RockBall/RockBall.fbx",
"rigSource": "Tools/output/rockball_dgx/high_rig/rigged.glb",
"lowUp": "Y",
"outputDir": "Tools/output/enemy_characters/RockBall",
"enemyPrefab": "Assets/Bundles/Characters/Enemy/RockBall/RockBall_Enemy.prefab",
"reviewScene": "Assets/Bundles/Scenes/Review/Enemy_RockBall_Review.unity",
"rootBone": "bone_0",
"chestBone": "bone_1",
"faceRight": "bone_8",
"faceLeft": "bone_10",
"rightFoot": "bone_8",
"leftFoot": "bone_10",
"rightFootTip": "bone_9",
"leftFootTip": "bone_11",
"rightArm": "bone_4",
"leftArm": "bone_6",
"walkStride": 0.06,
"walkLift": 0.018,
"walkSeconds": 1.1,
"idleSeconds": 1.6,
"idleBreath": 0.003,
"attackSeconds": 1.0,
"attackWindup": 0.25,
"attackImpact": 0.45,
"attackRecover": 0.9,
"attackLeanDegrees": 14,
"attackArmDegrees": 25,
"attackLunge": 0.025,
"maxRootTilt": 25,
"groundTolerance": 0.003,
"motions": [
{
"name": "Idle",
"cachedFbx": "Tools/output/rockball_dgx/high_rig/anims/RockBall_Idle.fbx",
"cachedRig": "Tools/output/rockball_dgx/high_rig/rigged.glb",
"cachedPrompt": "an animal idles with a gentle breathing motion",
"sourceDir": "Tools/output/enemy_characters/RockBall/motions/Idle",
"prompt": "a small bipedal character stands upright and idles with gentle breathing",
"duration": 2.0
},
{
"name": "Walk",
"sourceDir": "Tools/output/rockball_dgx/walk_verified/motion",
"prompt": "a small bipedal character walks forward upright with alternating short steps and gentle arm swings",
"duration": 2.0
},
{
"name": "Attack",
"cachedFbx": "Tools/output/rockball_dgx/high_rig/anims/RockBall_Attack.fbx",
"cachedRig": "Tools/output/rockball_dgx/high_rig/rigged.glb",
"cachedPrompt": "an animal moves forward with clear rhythmic limb motion",
"sourceDir": "Tools/output/enemy_characters/RockBall/motions/Attack",
"prompt": "a small bipedal character performs one forward body slam attack and recovers to standing",
"duration": 2.0
}
]
}