[Squat King logo]

Squat King is a Jump King pseudo-mod made with Python and Mediapipe. The program uses camera-based fullbody tracking to detect certain landmarks and calculate poses to determine game inputs.

It works by simulating keyboard presses: direction arrows when both arms are on the same side (need to be a similar Y value) and Spacebar when the knees and hips landmarks are closer than Y (determined by sensitivity).

It also comes with a menu made with Tkinter where all settings and stats can be viewed and from where the actual tracking part is launched, which opens an OpenCV window and the Mediapipe tracking.

The program doesn't modify the actual game, it just simulates the keyboard, so this has pros and cons. The main con is that the game has to be focused to function, so with a dual monitor setup is no big problem (although bothersome still), but with 1 screen only it can cause problems. On the other hand, the main pro includes adaptability, to other games or applications.
Taking this to the extreme I made Hand Recorder which uses the same technology to execute keyboard shortcuts (uses hand tracking instead).

This was my first "real" project, meaning public and open to everyone, and I learnt so many new concepts. Most features implemented in the updates are thanks to the feedback I got.
As the name implies, you play by Squatting!
(No need to go to the gym anymore, trust me)


Note: This video is out of date (based on v1.0), refer to the changelog for the latest updates.
Note: Windows only!

CHANGELOG

v2.1 - June 15th, 2024

v2.0 - June 10th, 2024

v1.0 - May 25th, 2024