What is bevy_crossterm?
bevy_crossterm
is a Bevy plugin that uses crossterm as a renderer. It provides custom components and events which allow users to develop games for the terminal.
Table of Contents
Features
- Sprites and styles with colors and attributes
- Up to 24-bit color (depends on what the host terminal supports)
- Incremental drawing: Only draw on the screen when something has changed
- Transparency: Sprites can have holes so any sprites underneath will not be covered
- Position, show, and hide the cursor
- Set window title
- Plugs into Bevy's asset system so sprites and styles can be loaded from disk and also hot reloaded
Demo GIF
Getting Started
See the examples for runnable code and detailed comments.
[]
= { = "0.4", = false }
= { = "https://github.com/octotep/bevy_crossterm", = "trunk" }
use *;
use *;
Press Control-c to exit at any time.