platformer-movement

Configure PlatformerBehavior and PlatformerValues for FlatRedBall2 entity movement.

11|3|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/vchelaru/FlatRedBall2 --skill platformer-movement
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: platformer-movement
Source: https://github.com/vchelaru/FlatRedBall2/tree/main/frb-skills/platformer-movement
Command: npx skills add https://github.com/vchelaru/FlatRedBall2 --skill platformer-movement

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Platformer movement in FlatRedBall2 is a complete, reusable system that handles ground and air motion, jumping, gravity, and collision interactions, letting you implement platformer mechanics without duplicating code.

Core Features & Use Cases

  • PlatformerBehavior and PlatformerValues provide a modular, configurable movement system for ground, air, climbing, and ladders.
  • Supports double jumps, variable-height jumps, slopes, one-way platforms, and moving platforms; can be toggled on/off per context via JSON templates.
  • Useful for any 2D platformer requiring reliable, testable movement logic with hot-reload-ready configs.

Quick Start

Attach a PlatformerBehavior to your entity, configure PlatformerValues from a JSON template, wire input bindings, and call Update each frame.

Frequently Asked Questions about platformer-movement

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

FAQPage Schema
How do I implement platformer movement with jumping and slopes in FlatRedBall2?

Implement platformer movement in FlatRedBall2 by attaching a PlatformerBehavior to your entity and configuring PlatformerValues from a JSON template. This system handles ground and air motion, jumping, gravity, and slope collisions without duplicating code.

Can I configure double jumps and one-way platforms in a 2D platformer using FlatRedBall2?

Yes, FlatRedBall2 platformer movement supports double jumps, variable-height jumps, one-way platforms, and moving platforms. These mechanics can be toggled on or off per context using configurable JSON templates mapped to PlatformerValues.

How does ladder climbing work in a FlatRedBall2 platformer?

Ladder climbing in FlatRedBall2 is handled by the modular PlatformerBehavior system. You configure the climbing and ladder properties within PlatformerValues, allowing your entity to transition between ground, air, and ladder movement states.

Do I need to manually code gravity and collision interactions for a 2D platformer in FlatRedBall2?

No, the FlatRedBall2 platformer movement system provides safe defaults for gravity, jump heights, and slope adjustments. It manages collision interactions internally, eliminating the need to manually code these physics behaviors.

How do I set up per-slot movement configurations for a FlatRedBall2 platformer entity?

You set up per-slot movement configurations by defining PlatformerValues via JSON templates. These templates allow runtime switching and per-frame updates, enabling dynamic movement context changes without altering core code.