Expand description
Nuuro is a specialized game development library.
When creating a game, it is good practice to make a layer, specific to one’s needs, that separates the game logic from the resource management, rendering, audio, and other interfacing that is needed for a game.
Users of this crate should create a build script in their project, invoking functionality from the sibling crate “nuuro_build”. This will generate texture atlases and enums to reference assets. See the “nuuro_build” crate for more details.
You can start with the nuuro template.
Re-exports§
pub extern crate paste;
Modules§
- asset_
id - Traits related to asset enums that are generated by “nuuro_build”.
- renderer
- Contains structs relating to application rendering.
Macros§
- nuuro_
header - Macro to be placed in the
main.rs
file for a Nuuro app. - nuuro_
println - Simple macro to print a message in the console of the current target.
- tiled_
sprite_ id - Simple that allow return a tile from a tiled sprite.
Structs§
- AppContext
- Context passed to methods in
App
. - AppInfo
- A struct for specifying initialization information for running an
App
. - Audio
- Struct for audio playback.
- Timer
- Structure that allows calculating the time elapsed since its initialization or determining whether a certain period of time has elapsed.
- Touch
Point - Struct that store touch position
Enums§
- KeyCode
- Enum for keyboard keys and mouse buttons.
Traits§
- App
- Trait that a user can implement to specify application behavior, passed into
nuuro::run(...)
.