bevy-adapt-3d-to-2d
Installation
SKILL.md
Bevy adapt 3D to 2D
When to use
Load this when a 3D design should render as sprites or billboards. Gameplay components stay. Render components change.
ECS shape
- Draw: replace mesh and PBR material entities' render parts with
Spritewhere a billboard is enough. - Camera: use
Camera2dfrom bevy-camera-systems. - Lights: 3D light entities are not required for an unlit sprite. Do not leave clustered-light assumptions in gameplay code.
What stays and what changes
| Piece | Bevy idiom |
|---|---|
| Gameplay on the actor | Keep the same components. Swap render components for Sprite. |
| View | Camera2d. |
| Draw order | A DrawOrder component you store, then write into Transform. |