pub fn render_icon(
gamemode_str: &str,
icon: i32,
col1: [f32; 3],
col2: [f32; 3],
glow: bool,
game_sheet_02: LoadedSpritesheet,
game_sheet_glow: LoadedSpritesheet,
robot_animations: Animations,
spider_animations: Animations,
) -> Result<DynamicImage, &'static str>
Expand description
The main entrypoint for icon rendering; this should be all you need to render out an icon.
gamemode
must be one of cube
, ship
, ball
, ufo
, wave
, robot
, or spider