https://github.com/rggh/mif
minifb game
https://github.com/rggh/mif
collision-detection minifb rust rusttype
Last synced: about 1 year ago
JSON representation
minifb game
- Host: GitHub
- URL: https://github.com/rggh/mif
- Owner: RGGH
- Created: 2024-11-13T10:52:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-19T14:33:19.000Z (over 1 year ago)
- Last Synced: 2025-02-02T03:31:49.148Z (over 1 year ago)
- Topics: collision-detection, minifb, rust, rusttype
- Language: Rust
- Homepage:
- Size: 3.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/RGGH/mif/actions/workflows/rust.yml)[](https://github.com/RGGH/mif/actions/workflows/cross_comp_pi5.yaml)
# Adventures in frame buffers - minifb
### Features
- [x] image to bytes
- [x] frames update from image using slice unless game logic says otherwise
- [x] collision detection for each drop to hit cat (negative) and cursor (positive)
- Positive score: Original background.
- Score 0 to -10: Mouse1 background.
- Score -11 to -20: Mouse2 background.
- Score below -20: Mono background.
- Score 30 : winner background
