Skip to content

condekind/rust_sdl2_opengl_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust SDL2 Playground

⚠️ WIP! ⚠️

This is a test repo to learn and evaluate SDL2 bindings for rust

Initially, it's mainly a rewrite of a C++ program I wrote that does the same thing. It implements the game loop from Bob Nystrom's Game Programming Patterns (which I strongly recommend). This was a close 1:1 rewrite, so you might see old comments referencing wrong variable names - they will be cleaned up eventually.

The background you see in the sample is part of Ulrick Wery's Hand Painted Textures, which as far as I'm aware, are not free to distribute, so they're not included in this repo. Support the artist if you like his work.

Sample

Rendering of a 2d spinning triangle periodically changing its color over a cartoonish wooden background

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages