Card Creator Tool Project
A downloadable tool
Download NowName your own price
Card_Creator
Overview
Card_Creator is a Unity project that enables developers to easily create cards as scriptable objects for use in their projects.
Getting Started
To create a new card, follow these steps:
- Right-click in the Project window.
- Navigate to Create -> New Card.
- The card name will be generated automatically, but you need to set the following attributes:
- Resource type
- Skills
- Attack and defense values (if needed)
- Resource cost
- Card type
AI Helper Tool
Card_Creator includes an AI Helper tool for generating flavor text and images for your cards.
Flavor Text Generation
To generate flavor text:
- Obtain an OpenAI API Key from OpenAI platform.
- Log in using your OpenAI account credentials.
- Navigate to the Flavor Text Generation tab.
- Drag and drop one of your Scriptable Object Cards into the "Card Scriptable Object to collect for flavor text prompt" field.
- Optionally, add keywords to tweak the result.
- Adjust the AI temperature using the slider.
- Click on the "Generate Text" button to create flavor texts.
- All flavor texts will be saved under individual folders with the card name in the "Resources-AI_Texts" path.
- Select the desired flavor text from the dropdown menu to set it for the card scriptable object.
Image Generation
To generate images:
- Log in to OpenAI using the credentials tab.
- Navigate to the Image Generation tab inside the AI_Card_Tool_EditorWindow.
- Unfold the BaseTemplate from the hierarchy and locate the AI_Art GameObject.
- Drag and drop this GameObject into the "GameObject to place image" field.
- Enter a prompt.
- Click on "Generate Image".
- Wait a few seconds for the image to appear on the card image panel.
- Optionally, open the generated image in your browser.
Prefab Generator
To generate prefabs:
- Open the Tools menu.
- Click on Prefab Generator.
- Drag and Drop the BaseTemplate card into the Prefab create.
- Add the folder name, subfolder name, and prefab name.
- Click on "Generate".
Dependencies:
- Microsoft.AspNet.WebApi.Client
- Microsoft.AspNet.WebApi.Core
- Microsoft.Bcl.AsyncInterfaces
- Microsoft.Extensions.Configuration
- Microsoft.Extensions.Configuration.Abstractions
- Microsoft.Extensions.Configuration.Binder
- Microsoft.Extensions.DependencyInjection.Abstractions
- Microsoft.Extensions.Http
- Microsoft.Extensions.Logging
- Microsoft.Extensions.Logging.Abstractions
- Microsoft.Extensions.Options
- Microsoft.Extensions.Primitives
- Newtonsoft.Json
- OpenAI
- System.Buffers
- System.Interactive.Async
- System.Linq.Async
- System.Memory
- System.Numerics.Vectors
- System.Runtime.CompilerServices.Unsafe
- System.Threading.Tasks.Extensions
Acknowledgment
Used part of the GoDoIt wrapper : https://github.com/OkGoDoIt/OpenAI-API-dotnet
Download
Download NowName your own price
Click download now to get access to the following files:
Card Creator Tool 94 MB
Leave a comment
Log in with itch.io to leave a comment.