Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/j0of/pong-macroquad-hecs

A BLAZINGLY FAST Pong clone implemented in Rust using the Macroquad and hecs libraries.
https://github.com/j0of/pong-macroquad-hecs

Last synced: about 2 months ago
JSON representation

A BLAZINGLY FAST Pong clone implemented in Rust using the Macroquad and hecs libraries.

Awesome Lists containing this project

README

        

# pong-macroquad-hecs

A BLAZINGLY FAST Pong clone implemented in Rust using the Macroquad and hecs libraries.

### Preview:
![Pong 08_01_2024 21_41_52](https://github.com/j0of/pong-macroquad-hecs/assets/124946864/3651f090-5a15-4a36-9286-4ab06473a04f)

### Controls:
* SPACE (while in PauseState or PlayerScoredState) : Play/Continue
* W, S : Control Player1 movements
* UP, DOWN : Control Player2 movements
* ESC (while in GameState) : Pause game
* R (while in PlayerScoredState) : Reset game

Note : This is my first ever game written in Rust. I found the transition from Raylib/C++ to Rust/Macroquad to be very smooth, and quite fun. Would 100% recommend!
Feel free to judge/leave suggestions on improvement :)