Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.14 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.14 KB

UPBGE (0.36.1) - control game objects using OSC messages (SB Version)

This project is based on a great study by Jose Padovani. Take a look at https://github.com/zepadovani/upbge_osc_gamemode

Author: Sandro Benigno

This version has few improvements and a new feature:

Improvement:

The commands /move and /rotate are object agnostic, you can now send the obj_name in the OSC message

New feature:

The command /play executes an action of a given object, extracting its animation's start_frame and end_frame automatically.

  1. Download this repository:
git clone https://github.com/sandrobenigno/upbge_osc_gamemode
  1. Download pythonosc to the same folder of the blend file, so that the standalone app can find the module there
cd upbge_osc_gamemode
pip install --target ./ python-osc
  1. Run the game (press 'p' to play the embedded game or select the standalone version in render options)

  2. Run the SuperCollider code or the PureData sketch to send messages to move, rotate and play actions of the objects by name

  3. On both environiments, run the /quit message to end the server, close the port and exit the game