logo

Cat Engine

A 2D graphics engine with audio support.

Uses OpenGL 2.0 and above.

Dependencies

If you use audio feature, alsa delevopment libraries are required for Linux: libasound2-dev for Debian and Ubuntu, alsa-lib-devel for Fedora (see cpal).

Features

Default features = ["texturegraphics", "simplegraphics", "text_graphics"]

Other features = ["audio", "mousecursoricon", "auto_hide"]

audio

Enables to use audio output.

mousecursoricon

Replaces the default mouse cursor with user's image.

The cursor points to the center of the image.

The default path to the image is ./mouse_cursor_icon.png.

auto_hide

The window gets minimized when loses focus and it stops sending outer events, except gained focus event. The window gets back when it gains focus.