flame-core

Teach Flame Engine fundamentals for 2D game development with Flutter and Dart.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to the fundamental concepts and components of the Flame Engine, enabling developers to build robust 2D games efficiently.

Core Features & Use Cases

  • Component System: Understand and implement game entities using Flame's powerful component-based architecture.
  • Input Handling: Process touch, keyboard, and gamepad inputs for interactive gameplay.
  • Collision Detection: Implement accurate collision detection for game physics and interactions.
  • Animation & Effects: Create dynamic animations and visual effects to bring games to life.
  • Use Case: A game developer wants to create a platformer game. They can use this Skill to learn how to set up player characters, handle jump and movement inputs, detect collisions with platforms, and implement character animations.

Quick Start

Learn about Flame Engine's component system by reading the references/components.md file.

Frequently Asked Questions about flame-core

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

FAQPage Schema
How do I build 2D games with Flutter and Dart?

To build 2D games with Flutter and Dart, you can use the Flame Engine to implement a component-based architecture, handle user inputs, manage scenes, and render dynamic animations.

How does the component system work in the Flame Engine?

The component system in the Flame Engine allows developers to construct game entities by structuring logic into modular, reusable parts, enabling efficient management of rendering, updates, and interactions within a 2D game.

How do I implement collision detection for a 2D platformer in Dart?

To implement collision detection for a 2D platformer in Dart, use Flame Engine's built-in collision system to define bounding boxes on game components and detect physical interactions with platforms or other entities.

Can I handle touch and keyboard inputs simultaneously using the Flame Engine?

Yes, the Flame Engine supports processing touch, keyboard, and gamepad inputs simultaneously, allowing developers to create interactive gameplay mechanics across multiple device types within a single 2D Flutter game.

What is the best way to manage animations and camera control in 2D game development?

The best way to manage animations and camera control in 2D game development is using Flame Engine's built-in scene management and animation techniques, which coordinate visual effects and dynamic viewport tracking.

Do I need prior Flutter experience to start using the Flame Engine for 2D games?

Prior Flutter experience is highly recommended, as the Flame Engine is built on top of Flutter and Dart, utilizing its rendering capabilities and component structure to build 2D games efficiently.