This repository contains a Unity project of a demo game that showcases item generation technology using neural networks.
In the game, you can combine two items to generate a new one:
- 3D Model Generation: Uses the Genie neural network by Luma AI.
- Item Name Generation: Utilizes ChatGPT 4o-mini.
- Physical Properties: Assigned using PhysicsMaterial.
- Sound Effects: Appropriate falling sounds are selected by the neural network.
At the start of the game, you will be prompted to log in to Genie and optionally enter your OpenAI Key.
You can download the ready-to-play build from the Releases section.
- Go to the Releases page.
- Download the latest build.
- Unzip the downloaded file.
- Run the InfinityCraft.exe to start the game.
- Launch the game.
- Log in to Genie when prompted.
- (Optional) Enter your OpenAI Key.
- Place two items on the two platforms in the combiner.
- Press the "Combine" button.
- Wait for the generated item to appear on the third platform.
- Explore the new item and its properties.
If you wish to explore or modify the source code:
-
Clone the repository:
git clone https://github.com/breineng/InfinityCraftAIUnity.git
-
Open the project in Unity (version 2022.3 or higher).
-
Open and run the Simple Garage/Scenes/Garage Scene.
- LumaAI Genie C# Library
- Advanced-FirstPerson-Controller
- Runtime OBJ Importer
- PhysSound Physics Audio System
- UnityWebBrowser
- Simple Garage
- Unity 2022.3 or higher (for running from source).
- Internet connection for neural network functionalities.
If you have any questions or suggestions, please create an issue in this repository.