Skip to content

ysgard/sprite-blitting-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Sprite blitting example using Rust and SDL2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages