physics-and-movement
CommunityMaster velocity, gravity, and motion in FRB2.
Authorvchelaru
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This guide helps developers implement and reason about 2D physics and movement in FlatRedBall2, covering velocity, acceleration, drag, gravity, and common motion patterns.
Core Features & Use Cases
- Coordinate system and physics properties: Y+ up, velocity, acceleration, and drag.
- Kinematic integration and update order: position and velocity are updated with gravity and drag for smooth motion.
- Movement patterns: horizontal movement, jumping, rotation-based thrust, and projectile motion; includes random spawning utilities with GameRandom.
- Practical use case: build platformers and top-down shooters with realistic motion.
Quick Start
Start a sample project, create an entity, apply velocity and acceleration, and observe movement under gravity and drag.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: physics-and-movement Download link: https://github.com/vchelaru/FlatRedBall2/archive/main.zip#physics-and-movement Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.