Skip to content

tank trouble... raylib. has lots of tunables for the tanky aficionado

License

Notifications You must be signed in to change notification settings

swomf/tank-trouble-raylib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

make
./tanktrouble

If your compositor uses fractional scaling on Wayland, gamescope can be used to deal with potential pixel math issues.

make
gamescope -w 1280 -h 720 -- ./tanktrouble

windows

todo

mac

todo

About

tank trouble... raylib. has lots of tunables for the tanky aficionado

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published