Skip to content

breineng/InfinityCraftAIUnity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Game of Item Generation Using AI

Description

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.

Download and Play the Build

You can download the ready-to-play build from the Releases section.

  1. Go to the Releases page.
  2. Download the latest build.
  3. Unzip the downloaded file.
  4. Run the InfinityCraft.exe to start the game.

How to Play

  1. Launch the game.
  2. Log in to Genie when prompted.
  3. (Optional) Enter your OpenAI Key.
  4. Place two items on the two platforms in the combiner.
  5. Press the "Combine" button.
  6. Wait for the generated item to appear on the third platform.
  7. Explore the new item and its properties.

Installation from Source

If you wish to explore or modify the source code:

  1. Clone the repository:

       git clone https://github.com/breineng/InfinityCraftAIUnity.git
  2. Open the project in Unity (version 2022.3 or higher).

  3. Open and run the Simple Garage/Scenes/Garage Scene.

Screenshots

image image

Used Assets

Requirements

  • Unity 2022.3 or higher (for running from source).
  • Internet connection for neural network functionalities.

Feedback

If you have any questions or suggestions, please create an issue in this repository.