bevy_cards
A simple, no dependency bevy plugin for making card games
Features
- Hover over, drag & drop cards
- Drop cards into slots
How to use
use *;
use *;
const CARD_WIDTH: u32 = 100;
const CARD_HEIGHT: u32 = 144;
Run this example using cargo run --example readme

Slots

Run this example using cargo run --example slots
Concepts
Card
Card is a component enabling your entity to be hovered, dragged and dropped around
Slot
Slots are places your card can be dropped into
Bevy versions supported
bevy_cards is not using semver, every release uses the same major and minor versions as bevy while the patch part is reserved
for all kinds of changes, be it bug fixes or feature updates.
| bevy | bevy_pixcam | branch |
|---|---|---|
| 0.17.x | 0.17.x | master |
| 0.16.x | 0.16.x | 0.16 |
Assets
License
MIT