115 lines
7.0 KiB
Markdown
115 lines
7.0 KiB
Markdown
<div id="install"></div>
|
|
|
|
## <img src="https://api.iconify.design/lucide/terminal-square.svg?color=%2333CCFF" width="28" height="28" style="vertical-align: middle;"> Giao thức Triển khai (Deployment Protocol)
|
|
|
|
> Hướng dẫn thiết lập môi trường phát triển và kết nối mạng lưới cho **BABA_YAGA**. Khuyến nghị sử dụng công cụ **ParrelSync** để tối ưu hóa quy trình kiểm thử Multiplayer (Mô phỏng Host/Client) ngay trên một Editor duy nhất.
|
|
|
|
<br>
|
|
|
|
<!-- SYSTEM REQUIREMENTS TABLE -->
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border: none;">
|
|
<tr>
|
|
<td width="33%" align="center" style="padding: 15px; background: rgba(255,255,255,0.02); border-right: 1px solid rgba(255,255,255,0.05); border-radius: 8px 0 0 8px;">
|
|
<img src="https://api.iconify.design/lucide/cpu.svg?color=%23888888" width="24" style="vertical-align: middle;"><br><br>
|
|
<strong style="color: #E0E0E0;">Engine Core</strong><br>
|
|
<span style="color: #33CCFF; font-size: 13px;">Unity 6000.3.10f1+</span>
|
|
</td>
|
|
<td width="33%" align="center" style="padding: 15px; background: rgba(255,255,255,0.02); border-right: 1px solid rgba(255,255,255,0.05);">
|
|
<img src="https://api.iconify.design/lucide/monitor.svg?color=%23888888" width="24" style="vertical-align: middle;"><br><br>
|
|
<strong style="color: #E0E0E0;">Architecture</strong><br>
|
|
<span style="color: #E0E0E0; font-size: 13px;">Win 10/11 | macOS (M/Intel)</span>
|
|
</td>
|
|
<td width="33%" align="center" style="padding: 15px; background: rgba(255,255,255,0.02); border-radius: 0 8px 8px 0;">
|
|
<img src="https://api.iconify.design/lucide/hard-drive.svg?color=%23888888" width="24" style="vertical-align: middle;"><br><br>
|
|
<strong style="color: #E0E0E0;">Storage Budget</strong><br>
|
|
<span style="color: #E0E0E0; font-size: 13px;">~5.0 GB (Repo + Library)</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
|
|
### <img src="https://api.iconify.design/lucide/download-cloud.svg?color=%23E0E0E0" width="22" height="22" style="vertical-align: middle;"> 1. Khởi tạo Không gian mạng (Repository Clone)
|
|
|
|
```bash
|
|
# Clone mã nguồn dự án từ kho lưu trữ chính thức
|
|
git clone https://github.com/OnlyScove/BABA_YAGA.git
|
|
|
|
Mở Unity Hub ➝ Chọn Add ➝ Add project from disk.
|
|
|
|
Trỏ đường dẫn đến thư mục BABA_YAGA vừa clone. Lần chạy đầu tiên (Import Asset Pipeline & Library) có thể mất từ 3 - 5 phút.
|
|
```
|
|
<br>
|
|
<img src="https://api.iconify.design/lucide/key.svg?color=%23FFD700" width="22" height="22" style="vertical-align: middle;"> 2. Khớp mã Máy chủ Photon (Fusion AppID Config)
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border: none; margin-top: 10px;">
|
|
<tr>
|
|
<td width="60px" align="center" style="background: rgba(255, 215, 0, 0.1); border-left: 3px solid #FFD700; border-radius: 0;">
|
|
<img src="https://api.iconify.design/lucide/shield-alert.svg?color=%23FFD700" width="28" height="28">
|
|
</td>
|
|
<td style="padding: 12px 15px; background: rgba(255,255,255,0.02);">
|
|
<p style="margin: 0 0 8px 0; color: #E0E0E0; font-size: 14px;">Trò chơi yêu cầu kết nối đến cụm máy chủ Relay của Photon để xử lý State Sync. Bạn bắt buộc phải cung cấp một AppID hợp lệ:</p>
|
|
<ol style="margin: 0; padding-left: 20px; color: #AAA; font-size: 13px; line-height: 1.6;">
|
|
<li>Truy cập và đăng nhập vào <a href="https://dashboard.photonengine.com/" style="color: #FFD700; text-decoration: none;">Photon Engine Dashboard</a>.</li>
|
|
<li>Khởi tạo một Application mới (Loại App: <b>Fusion</b>) và sao chép mã <b>App ID</b>.</li>
|
|
<li>Trong Unity Editor, điều hướng tới: <code>Tools ➝ Photon ➝ Fusion ➝ Network Project Settings</code>.</li>
|
|
<li>Dán App ID vào trường <b>App Id Fusion</b> (Áp dụng cho cả Realtime & Fusion).</li>
|
|
<li>Đảm bảo <b>Network Mode</b> được thiết lập là <code>Client/Server</code> để bật tính năng State Authority.</li>
|
|
</ol>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
<img src="https://api.iconify.design/lucide/play-circle.svg?color=%2300FF55" width="22" height="22" style="vertical-align: middle;"> 3. Khởi chạy Trình mô phỏng (Launch Simulation)
|
|
|
|
Mở Scene trung tâm tại: Assets/Scenes/Main Scene.unity.
|
|
|
|
Nhấp vào Smart Bootstrapper (Nằm trên thanh Menu Top-bar của Unity) để tự động hóa quy trình tiêm (Inject) cấu hình Network Runner.
|
|
|
|
Nhấn nút Play <img src="https://api.iconify.design/lucide/play.svg?color=%2300FF55" width="14" style="vertical-align: middle;"> trong Editor.
|
|
|
|
Để test thực tế: Khuyến nghị Build ra file .exe độc lập, hoặc sử dụng hệ thống ParrelSync Clone Editor để chạy 2 Instances song song.
|
|
|
|
<div align="center">
|
|
<img src="https://api.iconify.design/lucide/radio-tower.svg?color=%23B026FF" width="28" height="28" style="vertical-align: middle;"> Trung tâm Tín hiệu (Community & Support)
|
|
<p align="center">
|
|
<a href="https://github.com/OnlyScove/BABA_YAGA">
|
|
<img src="https://img.shields.io/github/stars/OnlyScove/BABA_YAGA?style=for-the-badge&logo=github&color=FFD700" alt="Stars">
|
|
</a>
|
|
<a href="https://scove-vault.duckdns.org/scove">
|
|
<img src="https://img.shields.io/github/forks/OnlyScove/BABA_YAGA?style=for-the-badge&logo=git&color=33CCFF" alt="Forks">
|
|
</a>
|
|
<a href="https://scove-vault.duckdns.org/scove">
|
|
<img src="https://img.shields.io/github/followers/OnlyScove?style=for-the-badge&logo=github&color=00FF55" alt="Follow">
|
|
</a>
|
|
</p>
|
|
<p align="center">
|
|
<a href="https://discord.gg/4xCYJvF4S2">
|
|
<img src="https://img.shields.io/badge/COMMUNITY-DISCORD_SERVER-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Discord">
|
|
</a>
|
|
<a href="https://ko-fi.com/yourname">
|
|
<img src="https://img.shields.io/badge/SUPPORT_US-KO--FI-FF5E5B?style=for-the-badge&logo=ko-fi&logoColor=white" alt="Ko-fi">
|
|
</a>
|
|
<a href="https://www.buymeacoffee.com/yourname">
|
|
<img src="https://img.shields.io/badge/DONATE-BUY_ME_A_COFFEE-FFDD00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black" alt="Buy Me A Coffee">
|
|
</a>
|
|
</p>
|
|
<br>
|
|
<img src="https://scove-vault.duckdns.org/files/api/public/dl/hARx-n28" alt="Network Visitors" style="border-radius: 4px; opacity: 0.8;">
|
|
<br><br>
|
|
<!-- SEPARATOR LINE -->
|
|
<img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png" width="80%" height="2px" style="filter: grayscale(100%) contrast(200%) sepia(100%) hue-rotate(300deg) saturate(500%);">
|
|
|
|
<br><br>
|
|
<!-- BRANDING FOOTER -->
|
|
<img src="https://api.iconify.design/lucide/fingerprint.svg?color=%23555555" width="48" height="48" />
|
|
<br>
|
|
<strong style="color: #E0E0E0; font-size: 16px; letter-spacing: 2px;">© 2026 SCOVANIA STUDIOS</strong>
|
|
<br>
|
|
<i style="color: #888; font-size: 13px;">"Baba_Yaga is more than a game, it's a social experiment."</i>
|
|
|
|
<br><br>
|
|
<a href="https://x.com/Scovy303">
|
|
<img src="https://img.shields.io/badge/DIRECTOR-@SCOVY303-000000?style=for-the-badge&logo=x&logoColor=white" alt="X/Twitter">
|
|
</a>
|
|
</div>
|