This project is a simple demonstration of how a python application can communicate with a Godot game using UDP. This communication channel can for example be used to send encoded image frames from a webcam.
- Open the Godot project in the
godot/directory and run the game scenegreeting/greeting.tscn. - Run the
greeting.pyscript inpython/.
- Open the Godot project in the
godot/directory and run the game scenecamera_stream/camera_stream.tscn. - Install the python requirements for in the
python/directory by runningpip install -r requirements.txtfrom that directory or usinguv sync. - From the same folder you can then run the
camera_stream.pyscript.
https://medium.com/@flip.flo.games/godot-python-3e3f98860e2f
https://medium.com/@flip.flo.games/godot-python-camera-stream-1866cfb9941f
- Godot 4.4.1
- Python 3.13


