跳到正文
TakoAPI
返回技能列表

game-dev-rust-godot

由 kjaylee 提供

Web & Frontend Development
—暂无评分
你的评分

简介

Game development workflow using Rust+WASM or Godot 4.x for HTML5 games.

描述

该技能的功能

A structured workflow for building HTML5 games using Rust+WASM (Macroquad or Bevy) or Godot 4.x. JavaScript and TypeScript frameworks are explicitly prohibited. The pipeline follows an asset-first approach with TDD and Playwright-based QA automation before deployment.

Enforcing Rust+WASM or Godot over JS frameworks avoids runtime fragility and keeps WASM bundle sizes and toolchain choices predictable across the full asset-to-deployment pipeline.

何时使用

  • Building a new browser game with Rust and Macroquad
  • Exporting a Godot 4 project to HTML5 for web deployment
  • Writing test cases before implementing game mechanics
  • Running automated QA checks on a game with Playwright
  • Acquiring and validating free-license assets before starting development

示例工作流

输入

User asks: Create a Snake game that runs in the browser

智能体
  1. 1

    Acquire sprite, background, BGM, and SFX assets from kenney.nl or NAS before writing any code

  2. 2

    Write functional, UI, and performance test cases covering game loop, mobile viewport, and load time

  3. 3

    Initialize a Macroquad project and implement snake movement, collision, and scoring logic

  4. 4

    Run Playwright automated tests against the local build to verify all TCs pass

  5. 5

    Build the WASM release and deploy index.html and .wasm to the target web server

输出

Deployed HTML5 Snake game passing all test cases, with 4 screenshots and a completed Definition of Done checklist

前置要求

  • Godot 4.x game engine (for Godot-based games)

安装

clawhub install kjaylee/game-dev-rust-godot

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接