Control UPBGE objects / games using OSC messages (working example)

Hi,

I’m new to UPBGE! Just found a way to control both embedded and standalone games using OSC messages… our use case of UPBGE is not so much Game designing but interactive art / audiovisual music.

The trick was to ‘install’ the pythonosc module in the project folder and to deal with the server using threads.

Here is the code in case anyone is interested (the threading issues took me a few hours to understand…)

I hope it helps someone else! :slight_smile: