Inspiration In a near-future world where artificial intelligence has turned against humanity, mechanical invaders known as "Clankers" overrun the cities. As humanity's last hope, players must battle through waves of AI-generated mechanical enemies in this story-driven action game. What it does Legendary Potato is a 2D action-adventure game where players fight back against an AI invasion. The game features:

  • AI-Generated Enemies: Every mechanical "Clanker" enemy is uniquely created using AI, with different appearances and combat styles
  • Story-Driven Progression: Battle through 5 levels of increasing difficulty, from basic scout patrols to heavily armored command units
  • Dynamic Combat: Real-time battles with health systems, melee attacks, projectile weapons, and screen-shake effects
  • Procedural Levels: Explore dynamically generated rooms filled with interactive props
  • In-Game Character Generator: Press Tab during gameplay to generate completely custom AI characters with unique sprites and animations
  • Advanced Graphics: HD sprites, particle effects, shaders, and visual feedback systems How we built it Built with Godot 4.0+ engine using GDScript for game logic. The AI enemy generation system uses Python scripts that make API calls to OpenRouter (GPT models) to create ASCII art representations of mechanical robots, then converts them to PNG sprite sheets using Pillow. The in-game character generator allows players to create custom characters by entering text descriptions, triggering a 6-step AI generation process that creates animated sprite sheets. Graphics were enhanced with custom GLSL shaders for effects like hit flash, outlines, glow, vignette, and chromatic aberration, plus CPUParticles2D systems for combat feedback. Challenges we ran into
  • AI-Game Integration: Coordinating Python AI generation scripts with the Godot game engine, including threading issues for async operations
  • API Reliability: GPT models occasionally fail to follow strict JSON formatting requirements, causing generation failures
  • ASCII to Sprite Conversion: Converting AI-generated ASCII art into properly formatted sprite sheets with correct animations and color mapping
  • Real-time Generation: Implementing blocking AI generation (~30 seconds) while maintaining responsive gameplay
  • Game Balancing: Creating meaningful progression across 5 difficulty levels with varied enemy types and behaviors Accomplishments that we're proud of
  • Complete AI Enemy System: Fully functional AI-generated Clankers with 4 distinct types (Scout, Combat, Heavy, Repair) and unique combat behaviors
  • In-Game Character Generator: Players can dynamically create custom characters during gameplay using natural language descriptions
  • Polished Visual Experience: Complete graphics overhaul with HD sprites, advanced shaders, particle effects, and camera shake
  • Engaging Gameplay Loop: Story-driven progression with procedural levels, real-time combat, and satisfying feedback systems
  • Technical Integration: Successfully bridging AI APIs with game engine for dynamic content generation What we learned
  • AI Integration: How to effectively integrate external AI APIs with game engines for dynamic content generation
  • Advanced Godot Features: Deep dive into shaders, particle systems, threading, and visual effects in Godot 4
  • ASCII Art Pipeline: Complete workflow from AI-generated ASCII art to animated sprite sheets
  • Game Design: Balancing difficulty curves, creating engaging combat mechanics, and implementing procedural generation
  • Real-time Systems: Managing async operations and user feedback during long-running processes What's next for potato(legendary)
  • Enhanced AI Generation: Add retry logic for failed generations, character caching, and preview systems
  • Expanded Content: More enemy types, weather effects, dynamic lighting, and sound-reactive visuals
  • Story Expansion: Additional levels, deeper narrative, and multiple endings
  • Multiplayer Features: Co-op gameplay and competitive leaderboards
  • Platform Expansion: Mobile ports and web deployment options

Built With

  • asprite
  • godot
  • gpt5nano
  • openrouter
Share this project:

Updates