flame-game-dev

Provides a guide to Flame Engine 2D game development with templates and deployment for Flutter games.

Updated May 30, 2025
One-click install
npx skills add https://github.com/mbuyco/dotfiles --skill flame-game-dev-mbuyco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flame-game-dev
Source: https://github.com/mbuyco/dotfiles/tree/main/opencode/skills/game-development/flame
Command: npx skills add https://github.com/mbuyco/dotfiles --skill flame-game-dev-mbuyco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to developing 2D games using the Flame Engine, covering everything from core concepts to advanced systems and deployment.

Core Features & Use Cases

  • Engine Fundamentals: Learn about components, input handling, collision, and more.
  • Game Systems: Implement quests, dialogue, inventory, combat, and other essential game mechanics.
  • Game Templates: Get starter code for RPGs, platformers, and roguelikes.
  • Deployment: Understand how to build and release your Flame games across multiple platforms.
  • Use Case: A developer wants to build a 2D platformer game using Flutter. They can use this Skill to learn Flame's core features, implement player movement and collision, add enemies and collectibles, and finally deploy the game to Android and Web.

Quick Start

Begin by learning the core fundamentals of the Flame Engine by reading the flame-core/SKILL.md file.

Frequently Asked Questions about flame-game-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a 2D game in Flutter using the Flame engine?

You can build a 2D game in Flutter using the Flame engine by following this guide, which covers core concepts like components, collision, and camera, alongside 14 game systems and templates for RPGs, platformers, and roguelikes.

Does Flame engine support complex RPG systems like inventory and dialogue?

Yes, Flame engine supports complex RPG systems. This guide details 14 game systems including quests, dialogue trees, inventory management, combat mechanics, crafting, and shops for comprehensive 2D game development.

Can I deploy a Flutter game to Android and Web with Flame?

Yes, you can deploy your Flame game to Android and Web. This guide provides best practices and instructions for building and releasing your 2D Flutter games across multiple deployment platforms.

What is the best way to implement procedural generation in a Dart game engine?

The best way to implement procedural generation in a Dart game engine is using the systems detailed in this Flame guide, which covers procedural generation alongside level editing and provides a roguelike game template.

How do I add particles and audio to a 2D game in Dart?

You add particles and audio to a 2D game in Dart by utilizing Flame engine's built-in components for scenes, audio, and particles, with performance and debugging best practices outlined in the core fundamentals guide.

Are there starter templates for platformer games in Flutter?

Yes, there are starter templates for platformer games in Flutter. This guide offers complete starter code and templates for RPGs, platformers, and roguelikes to accelerate your 2D game development process.