Skip to content

Create 2D games in JavaScript using Prompt Driven Development

License

Notifications You must be signed in to change notification settings

failfa-st/2D-GameCreator

 
 

Repository files navigation

title emoji colorFrom colorTo sdk pinned license app_port
2D GameCreator
👾🕹📺
purple
red
docker
false
agpl-3.0
3000

2D GameCreator

LIVE DEMO on HuggingFace

Discord



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

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

Packages

No packages published

Languages

  • TypeScript 92.6%
  • JavaScript 4.5%
  • Dockerfile 2.8%
  • Shell 0.1%