Linden Engine
PRD v1.4

التوثيق

1. مقدمة ونظرة عامة

1.1 ما هو Linden؟

ليندن (Linden) هي منصة سحابية لتطوير الألعاب بالذكاء الاصطناعي تحول الأوامر النصية الطبيعية إلى كود حتمي وأصول رسومية متوافقة مباشرة مع محركات الألعاب مثل Godot و Unity.

AgentSpecialization
Game ArchitectScene hierarchy, node tree, lifecycle management
ProgrammerGDScript 2.0, C# 12, Rust bindings, AST diffing
Technical ArtistGLSL/HLSL/WGSL shaders, sprite atlases, normal maps
QA InspectorHeadless simulation, collision testing, performance profiling
Level SynthesizerProcedural level generation, difficulty pacing, biome design

1.2 الميزات الرئيسية

  • من الأمر إلى اللعب فوراً – نماذج أولية قابلة للعب في ثوانٍ
  • تحديث مباشر في أقل من 100 مللي ثانية دون إعادة تشغيل المحرك
  • تصدير متعدد المنصات – WebGPU, Windows, macOS, Linux

1.3 متطلبات التشغيل

ComponentMinimumRecommended
BrowserChrome 113+, Safari 18+, Firefox 120+Chrome 132+ (WebGPU)
RAM4 GB8 GB
GPUWebGL 2.0 supportWebGPU / Vulkan 1.3
OSWindows 10, macOS 12, Linux (Ubuntu 22.04)Windows 11 / macOS 14+
Internet10 Mbps50 Mbps (for live agent streaming)

2. دليل البدء السريع

2.1 التسجيل والدخول

سجل دخولك عبر حساب Google أو GitHub للوصول مباشرة إلى مساحة عمل Linden Studio.

2.3 المشروع الأول

Create a 2D platformer with a blue character who can jump and
collect yellow coins. Add a red enemy that moves back and forth.

3. المفاهيم الأساسية

3.1 الوكلاء الخمسة

يعمل خمسة وكلاء متخصصين بالتوازي: مهندس المشهد (Architect)، المبرمج (Programmer)، الفنان التقني (Artist)، فاحص الجودة (QA)، ومصمم المستويات (Level Synthesizer).

3.3 استهلاك الرموز

ActivityCompute Tokens
1 prompt parsing~100-500 tokens
Generate full platformer~12,000 tokens
Shader generation~2,400 tokens
Physics tweak~800 tokens
Level generation~3,500 tokens

4. الدليل المتوسط والأوامر المباشرة

4.4 سطر الأوامر CLI

npm install -g @linden/cli
linden generate -f prompt.txt -o ./output
linden test --ticks=1000 --headless

5. المنصات المدعومة

TargetFormatPrimary Use Case
WebHTML5 + WASMBrowser play, instant sharing
Windows.exe (portable)Steam, Itch.io distribution
macOS.app (universal)Mac App Store, standalone
LinuxAppImageSteam Deck, Linux gamers
Android.apk / .aabGoogle Play Store
iOS.ipa (preview)Apple App Store
ConsolesCustom SDKPlayStation, Xbox, Switch (NDA)

8. استكشاف الأخطاء وإصلاحها

IssueProbable CauseRecommended Solution
Error 400Malformed prompt syntax or JSONInspect JSON headers, test with curl -v
TimeoutProject scope too complexBatch prompt, enable async streaming, or upgrade tier
Tokens ExhaustedQuota exceededUpgrade tier or acquire pay-as-you-go token packs
Code Build FailAST Parse ErrorReview QA Inspector logs, use more constrained prompt
Low FramerateGPU / Shader loadTarget WebGPU, enable caching, or use self-hosted runner
CodeDescriptionRecommended Action
400Bad RequestVerify JSON schema & syntax
401UnauthorizedVerify API Key or re-authenticate
403ForbiddenCheck tier permissions
404Not FoundInvalid project ID specified
429Rate Limit ExceededThrottle calls or upgrade token concurrency
500Internal Engine ErrorContact Linden developer support

9. الأسئلة الشائعة (FAQ)

س: كم يستغرق إنشاء لعبة منصات؟

عادة بين 30 إلى 60 ثانية لتوليد لعبة ثنائية الأبعاد قابلة للتشغيل بالكامل.