Agents In Use
What’s new todayLast update
108 use cases added today

How to use Gemini to build a Love2D prototype

MeowMiata used Gemini with Love2D through WSL, granted executable launch permission and let crash feedback drive Lua fixes in an unfinished defense prototype.

Source published reddit.comAgent: Geminivia Gemini CLI
FROM THE SOURCE

Original prompt

Shared by the source author. See source notes for context.

Add a small puddle of blood under the enemy

Evidence at a glance

Sourced account
Source author
MeowMiata
Original account
Read the source ↗
Published
Source link checked
Reported result
An unfinished Love2D defense proof of concept gained sprites and animations while Gemini used executable errors to patch and relaunch it.
Human involvement
MeowMiata granted permission to launch the game, chose features and watched accelerated rounds to inspect behavior; the author explicitly called it unfinished.

A linked account supports attribution. It does not mean we independently reproduced its result.

Report an issue with this caseOpen correction email

Opens your email app with the case link included. Nothing is sent automatically.

How the agent did it

  1. The author supplied a basic defense concept and existing sprite folders.
  2. Gemini added animation states and requested effects in Lua.
  3. With launch permission, it read executable errors, patched crashes and relaunched the prototype.

MeowMiata used Gemini CLI to turn a simple Love2D maze experiment into an unfinished tower-defense prototype. Development ran through Ubuntu in WSL while Love2D itself ran on Windows, combining a terminal agent with a native game executable.

The author began with basic shapes defending a rectangle, then requested PNG sprites and visible effects. Gemini assembled multi-part sprites and implemented idle, run and attack animation states from folder references and short feature prompts. The account credits existing sprite sources rather than implying the agent created every visual asset from nothing.

A follow-up explains the execution loop. MeowMiata granted Gemini permission to launch love2d.exe from WSL, allowing the agent to inspect returned errors. When the game crashed, Gemini could change the Lua code and relaunch without requiring a manual copy of the crash output. The author added faster simulation speeds to see whether rounds completed without issues.

The result was a playable-style proof of concept after an afternoon of experimentation, with the author explicitly stating it was unfinished and would not become a polished game. The useful mechanism is executable feedback during iteration, together with human feature selection and observed round behavior.

Prompt
Original prompt

Source: Reddit · MeowMiata

Frequently asked questions

How could Gemini see crashes?

It had permission to launch love2d.exe from WSL and inspect returned errors.

Why add faster simulation speeds?

The author used them to check whether rounds ran without issues.

Was this a finished game?

No. The author explicitly described an unfinished proof of concept.

More details

About this account

The author began with basic shapes defending a rectangle, then requested PNG sprites and visible effects. Gemini assembled multi-part sprites and implemented idle, run and attack animation states from folder references and short feature prompts. The account credits existing sprite sources rather than implying the agent created every visual asset from nothing.

Original Reddit account and author follow-up opened. Three-hour timing is self-reported. Author explicitly says unfinished proof of concept. No token-usage number is repeated because it is not independently substantiated. Original prompt excerpt retained from the source.

Credit: MeowMiata on Reddit

Source published

Added to Agents In Use

Source checked

Tools and topics

Gemini CLI · Love2D · Lua · WSL · Windows

Tower defense · Executable feedback

Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.