精选English2026-10-23
Your AI can write the game logic, but the UI still looks like AI slop. I made a Figma-like UI editor that hands the desi
效果图 · AI 照这条 prompt 做出来的单页(纯 HTML/CSS)
Hi r/vibecoding. Coding agents are great at game logic, but ask one for a main menu or a HUD and you get the same generic layout every time: centered buttons, default fonts, random spacing. You can tell an AI made it. So I built Envy, a UI editor for games that works like Figma. You design the screens yourself on a real canvas, with components, states, auto layout, animation and localization. Then you hand the result to your agent as a package it can’t misread. You can even tell your AI agent to build UI in Envy via MCP. What the handoff contains: * AGENTS.md: rules and steps for coding agents (Claude Code, Cursor, Codex, etc.) * PROMPT.md: a ready-to-paste prompt * contract.json: every event and data path, typed, so the agent wires boss.hp or start_game instead of guessing names * screens/: reference renders of every screen, so the agent can see what it’s matching * A generated Godot controller and a typed TypeScript wrapper * A CLI and schema, so the agent can validate and edit the UI file safely instead of hand-editing JSON The agent doesn’t redraw your UI. It plugs into it. The design stays yours, and the runtime renders it exactly as you made it: * Godot 4.3+: real Control nodes, so focus and gamepad work natively * Web: a 41 KB runtime * Both runtimes are MIT-licensed. No royalties. It runs offline, needs no account, and projects are plain files on your disk. It includes The Last Hunt, a 20-screen and 180 components dark-fantasy UI kit, if you want to see a full game’s UI built in it. $9.99 once on itch.io: https://mythicbrain.itch.io/envy Site: https://envyui.com (https://envyui.com/) YouTube Video (https://youtu.be/exVEq6jD1f0?si=IGNsQh9OrQqYXuFR) I’m the dev, so happy to answer anything. I’d especially like to hear from people building games with agents: what does your agent get wrong most often with UI?
原帖 ↗#auto#vibecoding