Structs§
- App
- This is the game application. It handles the creation of the game window, the window events including player input events and runs the main game loop.
- AppOptions
- Console
- This contains the data for a console (including the one displayed on the screen) and methods to draw on it.
- File
Loader - This provides a common way to load files for both native and web targets
- Image
- An easy way to load PNG images and blit them on the console
- Keys
- An iterator visiting all keys in arbitrary order.
Enums§
- Text
Align - Update
Event - What is returned by the
Engine::update
function
Constants§
- CHAR_
CORNER_ NE - CHAR_
CORNER_ NW - CHAR_
CORNER_ SE - CHAR_
CORNER_ SW - CHAR_
LINE_ H - CHAR_
LINE_ V - CHAR_
SUBP_ DIAG - CHAR_
SUBP_ E - CHAR_
SUBP_ N - CHAR_
SUBP_ NE - CHAR_
SUBP_ NW - CHAR_
SUBP_ SE - CHAR_
SUBP_ SW - DEFAULT_
CONSOLE_ HEIGHT - DEFAULT_
CONSOLE_ WIDTH
Traits§
- Doryen
Api - This is the complete doryen-rs API provided to you by
App
inEngine::update
andEngine::render
methods. - Engine
- This is the trait you must implement to update and render your game.
See
App::set_engine
- Input
Api - Provides information about user input.
Possible values for the
key
scancode parameter can be found in unrust/uni-app’stranslate_scan_code
function. Warning, there are some slight variations from one OS to another, for example theCommand
,F13
,F14
,F15
keys only exist on Mac.