Skip to content

A simple crosshair overlay for Windows using Python and Pygame.

License

Notifications You must be signed in to change notification settings

LucHermkens/Crosshair

Repository files navigation

Crosshair

A simple crosshair overlay for Windows using Python and Pygame.

Crosshair

Usage

  1. Download the latest crosshair.exe executable from the releases page.

  2. Simply open the crosshair.exe executable.

    The crosshair will appear in the center of your primary screen.

    You can close the crosshair from your taskbar.


Development

Setup

  1. Install Python 3.12.

  2. Install dependencies:

    python -m pip install -r requirements.txt

Running

Use the following command to run the crosshair:

python crosshair.py

The crosshair will appear in the center of your primary screen.

Press Ctrl+C in the terminal to close it.

Building

To create a standalone executable:

  1. Install PyInstaller:

    python -m pip install pyinstaller
  2. Run the build command:

    python -m PyInstaller crosshair.spec --noconfirm

The executable will be located in dist/crosshair.exe.

About

A simple crosshair overlay for Windows using Python and Pygame.

Resources

License

Stars

Watchers

Forks

Languages