Projects  

Unity / PureData Platformer 2025

  • CourseCOMP4350
  • StackUnity, PureData, LibPdIntegration


This performance focuses primarily on creating an unique interface to facilitate novel ways of musicians interacting with their instrument. This is accomplished through converting a PureData patch into an online game, changing the method of altering sliders or sending bangs from clicking on them with a mouse to using a player character that can move around the scene.

The program uses Unity Relay, allowing for players to host their own servers locally and facilitates online multiplayer over WiFi (technically supporting players to come together internationally, although it may be slightly laggy). This is integrated with a Pd patch using the LibPdIntegration library for two way communication between Pd and Unity.

Some of the notable features in this patch include the ability to combine Unity and PureData in an online context, for which there does not seem to exist any online precedent for. This required sending bang/float information from the client game instance to the server to ensure that everything remained in sync. Additionally, facilitating both the random selection of notes in the table and allowing the player to interact with them required totally separate workflows that had to be swapped at the client's discretion, resulting in a number of server/client transactions to occur and some slightly odd Pd workarounds.

temp
Site last updated 1/9/2025