Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 460 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 460 Bytes

Sprite Blitting for Rust using SDL2

A simple program that shows how to blit sprites from a spritesheet to the screen using the crate rust-sdl2.

  • Loading a spritesheet
  • Setting the transparent color on a spritesheet
  • Blitting a portion of a spritesheet to a separate buffer (double buffering)
  • Tinting the sprite a certain color
  • Clamping the framerate to once per second

Screenshot