Skip to content

guillaume-gomez/rs-sdl2-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust SDL2 Examples

Setup

You will need rust and SDL2 on your system.

Build the examples via Cargo

cargo build

Some examples will require assets so run each example from the root of the project.

cargo run --bin eg04

Displays a window for a moment then quits.

Handling events.

Rendering shapes.

Surface rendering.

Texture rendering.

About

Rust SDL2 example code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%