collision-relationships
CommunityMaster collision rules between entity groups.
Software Engineering#physics#collision#entity-relationships#one-way#tile-shapes#frb2#collision-events
Authorvchelaru
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill enables you to define and manage collisions between groups of entities in FlatRedBall2, allowing precise control over what happens when they overlap.
Core Features & Use Cases
- AddCollisionRelationship wires two groups to test for overlaps each frame and apply a configured response.
- Fluent modifiers like
.MoveFirstOnCollision(),.MoveBothOnCollision(...), and.BounceOnCollision(...)tailor how entities separate. - Collision events and lifecycle hooks (
CollisionOccurred,CollisionStarted,CollisionEnded) enable gameplay effects, damage, sounds, and state changes. - TileShapes and one-way platforms support complex level geometry, slope handling, and tricky platformer interactions.
Quick Start
Create a relationship between two factories in your Screen, configure the desired response, and subscribe to CollisionOccurred for on-hit logic.
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: collision-relationships Download link: https://github.com/vchelaru/FlatRedBall2/archive/main.zip#collision-relationships 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.