Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kiranandcode/rust-breakout

Implementation of the breakout game in Rust (openGL)
https://github.com/kiranandcode/rust-breakout

Last synced: 26 days ago
JSON representation

Implementation of the breakout game in Rust (openGL)

Awesome Lists containing this project

README

        

# Rust Breakout
Shameless Rust based translation of tutorial at [LearnOpengl](https://learnopengl.com/In-Practice/2D-Game/Breakout).

Actually had to change quite a bit of stuff to use rust in this project -
might even be worthwhile writing up a tutorial for creating opengl games in rust.

Cool things in this project:
- Using SDL2 and OpenGL to render to the screen.
- Using rust-bindgen and build scripts to link to arbitrary c-projects - specifically SOIL.
- Identifying where and when to use references vs Rc>
- Structuring larger scale projects in rust's module system
- Doing OOP without inheritance and excessive performance losses.

## Screenshots