Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/kiranandcode/rust-breakout
- Owner: kiranandcode
- Created: 2018-06-10T13:32:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-26T20:39:19.000Z (over 6 years ago)
- Last Synced: 2024-07-20T19:13:06.551Z (4 months ago)
- Language: Rust
- Size: 773 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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