https://github.com/swomf/tank-trouble-raylib
tank trouble... raylib. has lots of tunables for the tanky aficionado
https://github.com/swomf/tank-trouble-raylib
c raylib raylib-c tank-trouble
Last synced: 17 days ago
JSON representation
tank trouble... raylib. has lots of tunables for the tanky aficionado
- Host: GitHub
- URL: https://github.com/swomf/tank-trouble-raylib
- Owner: swomf
- License: gpl-3.0
- Created: 2025-10-13T13:16:35.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-12-30T20:25:36.000Z (7 months ago)
- Last Synced: 2026-01-03T16:54:49.790Z (7 months ago)
- Topics: c, raylib, raylib-c, tank-trouble
- Language: C
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tank trouble clone
c+raylib. lots of tunables since linux users sure like those
## features
* better bullet balancing.
* lifetime has a lower cap (less spam)
* bullets can collide with each other for mutual destruction (more big brain plays)
* each tank color can only have a set amount of bullets
active on-screen at once (less spam)
* more tunables. see `src/config.h`
* tune bullet speed, max bullet bounce, max bullet lifetime, bullet speed, etc.
* tune tank speed, turning, scale
* tune maze generation, size (no custom mazes yet)
* for deeper tuning, the code is kept intentionally simple to
allow patching. for example adding more than 4 players.
## build
use a c compiler and have the raylib game library on your PATH.
### linux
After installing raylib (libraylib-dev or raylib depending on distribution), run
```bash
make
./tanktrouble
```
If your compositor uses fractional scaling on Wayland,
[gamescope](https://wiki.archlinux.org/title/Gamescope)
can be used to deal with potential pixel math issues.
```bash
make
gamescope -w 1280 -h 720 -- ./tanktrouble
```
### windows
todo
### mac
todo