Spaces:
Runtime error
Runtime error
File size: 2,464 Bytes
2f65818 3516ec6 2f65818 3516ec6 a86df80 8ee7f03 32a1ca4 65567a2 dfc29c8 65567a2 dfc29c8 65567a2 32a1ca4 3516ec6 32a1ca4 65567a2 dfc29c8 2f65818 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
---
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>
[![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
|