Skip to content

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

The Prompt2Game project

Leveraging instruct LLMs to generate full games from prompt

This repository aims to generate a fully playable and complex game from a single prompt, using multiple models such as LLMs and difusion models

Goal of the project

The aim of the project is to generate a fully playable game by converting a single prompt into a full game representation for few-shots game creation Every steps will be modifiable by user making a very flexible game creation engine

Other parts of the project :

Project status

  • Prompt ▶ Game Design Document - ✅ Done
  • Game Design Document ▶ character list + game plot - ✅ Done
  • Game Character list / graphics ▶ Assets (3d or 2d generation) - ✅ Done
  • Game plot & Character list ▶ Game states (Menu - Cutscenes - Game - End screen) - ✅ In progress
  • Game plot + Character list + states + details ▶ Game file structure (assets/scripts) - ✅ In progress
  • Game file structure ▶ Full game with coding - ❌ Not done yet

Prompt ▶ Game Design Document

From the game idea, generate the .json game design document.

Input : Title: Galactic Conquest

Prompt: In a distant future, where the universe is ruled by a vast galactic empire, players must lead a rebellion against the oppressive rule to restore freedom and justice. With a diverse crew of allies and strategic decision-making, players will navigate through epic space battles, explore uncharted territories, and forge alliances to ultimately overthrow the empire and usher in a new era of peace and prosperity.

Output :

{

  "title": "Galactic Conquest",
  
  "genre": ["Action", "Strategy", "Adventure"], 
  
  "mechanics": ["Real-time strategy", "Exploration", "Diplomacy", "Combat"], 
  
  "aesthetics": "Sci-fi", 
  
  "platforms": ["PC", "Playstation", "Xbox", "Switch"], 
  
  "perspective": "Third-person", 
  
  "controls": {` 
  
    "keys": { 
    
      "W": "Move Forward", 
      
      "A": "Turn Left", 
      
      "S": "Move Backward", 
      
      "D": "Turn Right", 
      
      "Q": "Rotate Camera Left", 
      
      "E": "Rotate Camera Right", 

      "Space": "Jump", 
      
      "Mouse Click Left": "Shoot", 
      
      "Mouse Click Right": "Select/Use Item", 
      
      "Tab": "Switch Characters", 
      
      "P": "Pause" 
      
    } 
    
  }, 
  
  "goals": [ 
  
    "Defeat the galactic empire", 
    
    "Explore uncharted territories", 
    
    "Forge alliances", 
    
    "Restore freedom and justice" 
    
  ], 
  
  "plot_description": "In a distant future, the universe is ruled by a vast galactic empire. Lead a rebellion against the oppressive rule and navigate through epic space battles, explore uncharted territories, and forge alliances to overthrow the empire and usher in a new era of peace and prosperity."
}

Content generation

Local usage of Instruct LLMs such as :

  • Openchat 3.5
  • RWKV v7
  • Others

Assets generation

3D generation

Useful repos and APIs :

3D Rigging

2D generation

  • Stable difusion
  • Other image generation model

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors