Display battle maps for TTRPGs on a secondary tv
Project description
Battle Map TV
Display battle maps for TTRPGs on a secondary tv.
For GM's with little time or who improvise their sessions.
This Python application aims to do one thing: quickly show an image on your secondary screen, in the right size and with a 1-inch grid.
Features
- Works natively on Linux, macOS and Windows.
- Doesn't use a browser.
- Works offline, no subscription or anything, fully open source.
- Two windows:
- one on the TV with your map and grid on it
- one on your GM laptop with controls
- Import local image files to display on the tv.
- Scale, pan and rotate the image.
- Store the physical size of your screen to enable grid and autoscaling.
- Overlay a 1-inch grid.
- Automatically detect the grid in an image and scale to 1 inch.
- Save settings so images load like you had them last time.
- Prepare up to four images in slots in the UI.
- Overlay a fire effect on your map.
Quickstart
This assumes you have Python installed. Probably you also want to create a virtual environment.
python -m pip install battle-map-tv
python -m battle_map_tv
Drag the TV window to your TV and make it fullscreen.
Then drag an image from a local folder and drop it in the GM window.
There are two text boxes to enter the dimensions of your secondary screen in milimeters. This is needed to display a grid overlay and autoscale the image to 1 inch.
You can drag the image to pan and zoom with your mouse scroll wheel, or use the slider in the GM window.
Close the application by closing both windows.
Technical
- Uses Pyglet for the graphical user interface.
- Uses OpenCV to detect the grid on battle maps.
- Uses Hatch to build and release the package.
- Icons by Prinbles https://prinbles.itch.io/analogue-buttons-pack-i
- Fire resource by DemontCode https://demontcode.itch.io/fireball
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file battle_map_tv-0.1.0.tar.gz
.
File metadata
- Download URL: battle_map_tv-0.1.0.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a811b5134e3d3cc730fc390b287eca3a3137a3daf6a5c1d4ecf8c197307b9c72 |
|
MD5 | d9cdc9de127c83a521c5b231d6c43eb2 |
|
BLAKE2b-256 | 88f76882f9f9a61c3f809b5e0c67f252f98604b356595f4ed2df7042a5a84a7d |
File details
Details for the file battle_map_tv-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: battle_map_tv-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4825f1d6a92b10032888e78340dba8a407741d1c2818b3fef018f6e6cea0b40 |
|
MD5 | 81429d880c21d2e35a1243f151de2077 |
|
BLAKE2b-256 | f7806a28928c477d39e71098bbcdc1c5cce453cd074a61505100442b7a461bc4 |