EN: This project was developed by Gamux in partnership with Iris Data Science. The game is a non-profit experimental project focused on learning Motion Capture using opencv-python and mediapipe, and on exploring a Godot build integrated with Python libraries via the py4godot addon by niklas2902: https://github.com/niklas2902/py4godot.
PT-BR: Este projeto foi desenvolvido pela Gamux em parceria com a Iris Data Science. O jogo e um projeto experimental sem fins lucrativos com o objetivo de aprofundar os aprendizados em Motion Capture atraves das ferramentas opencv-python e mediapipe, além do aprendizado de Godot que foi modificado para se integrar com as libs python atraves do addon py4godot desenvolvido por niklas2902: https://github.com/niklas2902/py4godot.
- Python (Recommended version: 3.12.4)
- Godot (Version: 4.6, based on plugin compatibility)
py4godotplugin
- Download the plugin ZIP:
- Unzip it and copy the inner
py4godotfolder to your install directory:\install_dir\py4godot- Note: the ZIP contains a top-level folder; use the inner
py4godot.
- Copy the dependency list:
- Copy
requirements.txtfrom the project root toaddons/py4godot/dependencies.txt
- Copy
- Install dependencies for the bundled runtime:
addons/py4godot/cpython-3.12.4-windows64/python/python.exe addons/py4godot/install_dependencies.py- Download the plugin ZIP:
- Unzip it and copy the inner
py4godotfolder to your install directory:/install_dir/py4godot- Note: the ZIP contains a top-level folder; use the inner
py4godot.
- Copy the dependency list:
- Copy
requirements.txtfrom the project root toaddons/py4godot/dependencies.txt
- Copy
- Install dependencies for the bundled runtime:
addons/py4godot/cpython-3.12.4-linux64/python/python.exe addons/py4godot/install_dependencies.pyThese steps configure the py4godot runtime used by Godot when running the project.
The py4godot addon bundles its own Python runtime inside the project. Godot runs
that bundled interpreter, not your system Python. To make VS Code recognize
py4godot.classes.* and other bundled modules, add the bundled paths to
Pylance/Pyright.
Example .vscode/settings.json:
{
"python.analysis.extraPaths": [
"${workspaceFolder}/addons/py4godot",
"${workspaceFolder}/addons/py4godot/cpython-3.12.4-windows64/python/Lib/site-packages"
]
}On Linux, use:
${workspaceFolder}/addons/py4godot/cpython-3.12.4-linux64/python/lib/python3.12/site-packages