互动演示: 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/