Crate rusty_console_game_engine

Crate rusty_console_game_engine 

Source
Expand description

§RustyConsoleGameEngine

A Rust port of the olcConsoleGameEngine. Make simple retro-style console games directly in the terminal, with an API closely matching the original C++ engine.

Modules§

color
Provides convenient constants for foreground and background colors.
key
Provides constants for keyboard input.
mouse_button
Provides constants for mouse button input.
note
Provides named constants for musical note frequencies (in Hertz).
pixel
Provides convenient Unicode pixel constants for drawing.
prelude
The prelude re-exports the most commonly used items in the engine, making it easy to get started without digging through individual modules.

Structs§

AudioEngine
Audio engine used through the ConsoleGameEngine.
ConsoleGameEngine
The main engine that runs a game implementing ConsoleGame.
Sprite
A 2D sprite consisting of glyphs and color values.

Traits§

ConsoleGame
Trait that defines the behavior of a game to be run by the ConsoleGameEngine.