Expand description
SkelForm runtime for Macroquad.
§Usage
use macroquad::prelude::*;
use rusty_skelform_macroquad::{animate, load_skelform_armature};
#[macroquad::main("Demo")]
async fn main() {
// Load SkelForm armature.
let (armature, tex) = load_skelform_armature("path_to_export", 0);
// Start a timer to use for the animation.
let time = std::time::Instant::now();
loop {
// Play first animation.
animate(&armature, &tex, 0, Some(time), true, true, None);
next_frame().await;
}
}Note that animate() may have different parameters as of this publishing.