互動示範: https://aiforge.beamable.com
Beamable Discord: https://discord.gg/naCFAEWqbJ
影片示範: https://beamable-demos.s3.us-west-2.amazonaws.com/gamejam2023-aiforger.mp4
該專案使用 Beamable 構建,主要演示聯合庫存與生成式 AI(OpenAI 和 Scenario.com)的結合來動態生成內容。
從 Unity 內部開發並部署到 Beamable 後端的自訂 C# 微服務用於向 AI Forge 遊戲用戶端提供自訂 API,以便它可以請求創建新的劍內容。
Assets/Game
- 遊戲客戶端程式碼Assets/Beamable/Microservices
- 微服務和託管儲存程式碼Assets/Beamable/Autogenerated
- 自動產生的微服務用戶端程式碼Assets/Beamable/Microservices/AIMicroservice/Configuration.cs
-必須使用您自己的 OpenAI 和 Scenario.com API 金鑰更新此檔案才能使該專案正常運作。請參閱下面的文件預覽:
namespace Beamable.Microservices { internal class Configuration { // todo put that into realm config and read it from there public const string OpenAiApiKey = "OpenAI key needed"; // OpenAI.com API key public const string ScenarioApiKey = "Scenario key needed"; // Scenario.com API key } }
Beamable SDK 版本: https://beamable.github.io/changes/#1.12.0
Unity版本: https://unity.com/releases/editor/whats-new/2021.3.18
帳戶/身份驗證:https://docs.beamable.com/docs/identity
商業/庫存:https://docs.beamable.com/docs/game-economy
內容:https://docs.beamable.com/docs/content-feature-overview
具有託管 MongoDB 儲存的微服務:https://docs.beamable.com/docs/microservices-feature-overview
主題管理器:https://docs.beamable.com/docs/theme-manager-overview
OpenAI 以 JSON 格式的回應產生玩家物品(劍):https://openai.com/
Scenario.com 生成藝術(劍圖像)以補充 OpenAI 生成的專案:https://www.scenario.com/