PitchHut logo
AI Game Studio
Effortlessly create 2D game assets from text prompts.
Pitch

AI Game Studio simplifies the process of generating 2D game sprites and animation frames directly from textual descriptions. With features like automatic background transparency and customizable spritesheets, it streamlines the workflow for game developers, allowing for quick asset creation and integration into various game engines.

Description

AI Game Studio is a web application designed to streamline the process of creating 2D game sprites and animation frames using natural language processing. Leveraging xAI / Grok Imagine, users can effortlessly generate sprites from text prompts, specify motions, and seamlessly compile these assets into spritesheets for immediate use in game development.

Key Features:

  • Generate Sprites: Quickly create a reference sprite by describing it in detail. For example, a prompt like A pixel-art knight in silver armor with a longsword, side-view, full body, simple flat colors, standing pose will yield a corresponding sprite.
  • Dynamic Animation Frames: Craft motion by inputting prompts, such as Smooth walk cycle, side-view, no head tilting, no camera movement. The app processes these requests to generate precise animation frames, which are extracted as transparent PNGs.
  • Efficient Spritesheet Composition: Users can easily compile their selected frames into a single 1×N PNG spritesheet. This also includes a looping GIF preview generated server-side.
  • Automatic Transparency: Backgrounds are chroma-keyed to transparency, ensuring instant compatibility with various game engines and eliminating the need for manual editing.
  • Project Management: Conveniently save and load projects by name, allowing for organized asset management. Generated artifacts are stored under the projects/ directory, maintaining a clear structure.

Installation Requirements:

To get started, ensure the following are in place:

  • Node.js 20+
  • ffmpeg accessible in your system's PATH
  • An API key from xAI, which can be obtained from x.ai

Usage Guidelines:

  1. Input a sprite description in the first column and generate the reference sprite.
  2. Specify a motion description in the second column and generate the corresponding frames.
  3. Choose which frames to include in the final output by clicking on the tiles.
  4. Generate the spritesheet and export it as a PNG file for download.
  5. Use the project management features to save or load previous projects.

For illustrative purposes, example prompts are provided:

  • Sprite Example: Female ninja with red scarf, dynamic side-view, 2D sprite, anime style
  • Motion Example: Jump arc — crouch, leap, mid-air, land

Planned Features:

Future updates will include background generation, tilemap creation, format exports for Aseprite and Tiled, as well as sound and music generation capabilities.

For more information on the architecture and technical specifications, refer to AGENTS.md.

This tool enhances creativity for game developers by providing an intuitive way to generate graphics, making game asset creation more accessible and efficient.

0 comments

No comments yet.

Sign in to be the first to comment.