2023-03-30 19:37:18 -04:00
BiTFiT
======
2014-04-25 13:22:01 -04:00
2023-01-13 20:30:20 -05:00
Land the triangles without touching the rods
2014-04-25 13:22:01 -04:00
2014-04-27 08:58:48 -04:00
Controls
2022-06-24 16:19:45 -04:00
--------
2023-01-13 20:30:20 -05:00
* Left/Right - Move rods
2022-06-24 16:27:48 -04:00
* Down - Increase fall speed
* F11 - Full screen
2014-04-25 13:22:01 -04:00
2014-04-27 08:58:48 -04:00
Requirements
2022-06-24 16:19:45 -04:00
------------
2023-03-30 19:37:18 -04:00
* [Python 3+ ](https://python.org/downloads )
* [Pygame 2 ](https://pygame.org/wiki/GettingStarted )
* [PGFW ](https://open.shampoo.ooo/shampoo/pgfw ) (included in this repository as a Git submodule)
2014-04-25 13:22:01 -04:00
Running
2022-06-24 16:19:45 -04:00
-------
2023-03-30 19:37:18 -04:00
Once Python and Pygame have been installed, clone the repository, including PGFW, and run `OPEN-GAME`
git clone --recursive https://open.shampoo.ooo/shampoo/ibitfit
cd ibitfit/
./OPEN-GAME
2022-12-13 18:28:46 -05:00
Raspberry Pi
------------
2023-03-30 20:09:47 -04:00
If running on a Raspberry Pi, it is possible to control left and right using buttons connected to the Raspberry Pi pins GPIO 24 and GPIO 23. It should work automatically as long as [RPi.GPIO ](https://sourceforge.net/p/raspberry-gpio-python/wiki/Home/ ) is installed, which should be installed by default.
2023-03-30 19:37:18 -04:00
BiTFiT is the first [Playzing ](https://shampoo.ooo/playzing ) compatible game. See the [Playzing builder's manual][] for detailed instructions on how to get it running.
2022-12-13 18:28:46 -05:00
Headless
--------
2023-03-30 19:37:18 -04:00
If running on Linux without X-Windows (for example, Raspberry Pi Lite OS), there are two options for launching:
2022-12-13 18:28:46 -05:00
* add `--kms` to the command line if the newer KMS driver and Pygame 2 are being used
* add `--fb` to use the framebuffer if using Pygame 1
2023-03-30 19:37:18 -04:00
[Playzing builder's manual]: https://open.shampoo.ooo/shampoo/playzing/src/branch/main/doc/Playzing_builder's_manual.md