2D-GameCreator / README.md
NERDDISCO's picture
docs: added link to live demo
bd1ef16
---
title: 2D GameCreator
emoji: "\U0001F47E\U0001F579\U0001F4FA"
colorFrom: purple
colorTo: red
sdk: docker
pinned: false
license: agpl-3.0
app_port: 3000
---
<h1 align="center"><big>2D GameCreator</big></h1>
[LIVE DEMO on HuggingFace](https://huggingface.co/spaces/failfast/2D-GameCreator)
[![Discord](https://img.shields.io/discord/1091306623819059300?color=7289da&label=Discord&logo=discord&logoColor=fff&style=for-the-badge)](https://discord.com/invite/m3TBB9XEkb)
---
<!-- toc -->
- [Prompt-Driven WebUI for 2D Game Development](#prompt-driven-webui-for-2d-game-development)
* [Features](#features)
* [Getting Started](#getting-started)
+ [On πŸ€— Spaces](#on-%F0%9F%A4%97-spaces)
+ [On your computer](#on-your-computer)
<!-- tocstop -->
---
# Prompt-Driven WebUI for 2D Game Development
Discover a web-based user interface designed for prompt-driven development, enabling users to create
a wide array of digital art including games, visual effects, fractal art, and flow fields. This
platform emphasizes prompt-driven creativity, inspiring users to push their artistic limits.
Featuring an interactive development environment, the WebUI allows for seamless real-time
visualization of your artistic creations. Delve into limitless possibilities and unleash your
imagination with the Prompt-Driven WebUI for creative 2D game development.
## Features
- 100% prompt-driven for enhanced creativity
- Optimized for generating 2D games
- Built-in code editor for a seamless development experience
- Real-time visualization of your creations
- Supports GPT-3.5 Turbo and GPT-4 models
- Adjustable options for temperature and max tokens
- Easy-to-use interface with prompt and negative prompt fields
- Reload and clear prompt functionalities
## Getting Started
To get started with the Prompt-Driven WebUI for 2D Game Development, you have two choices: Use the
hosted demo on πŸ€— Spaces or run it directly on your computer.
### On πŸ€— Spaces
[The **2D GameCreator** is hosted on Hugging Face Spaces](https://huggingface.co/spaces/failfast/2D-GameCreator/)
### On your computer
If you want to run the UI locally, please follow these steps!
1. Clone the repository to your local machine.
2. Copy the `.env.local.example` file to a new file named `.env.local` and add your `OPENAI_API_KEY`
from the OpenAI platform (platform.openai.com).
3. Install the required dependencies using `npm install`.
4. Run the development server with `npm run dev` to access the WebUI.
5. Begin creating your own 2D games in JavaScript