transparent overlay with render functions made using pygame and pypiwin32
- render functions (draw_text, draw_rect, draw_line)
- track over target window e.g. 'Untitled - Notepad'
you will need to install these modules:
pip install pygame
pip install pypiwin32
from overlay import Overlay
overlay = Overlay(window_name='Untitled - Notepad')
while True:
overlay.update_pos()
overlay.draw_rect((255, 0, 0), 200, 200, 155, 35, 5)
overlay.draw_text('Hello world!', (179, 66, 245), 225, 205, 40)
overlay.update()