THAÍS ALVARENGA


THAÍS ALVARENGA 

Creative Technologist  |  Narrative Designer  |  Environmental Designer  |  
9/03/2022

HOW TO BUILD CONTROLLERS FOR MULTIPLE DEVICES


You need to download a bunch of stuff to be able to make an app for Android or iOS.Usually, when you open your UNITY Hub you see your projects. If you go to installs, you will be able to see the versions of UNITY that you have, but you can also add modules.→ Modules allow you to make builds for operating systems. iOS apps are more involved because you need to have XCode, which is the programming environment for iOS.

💡 Android builds are a bit quicker in UNITY.

Have Android file transfer if you need to access things from an Android phone.The Developer Mode in your Android device should be enabled.→ Remember to add the scenes that you want to include in the program before you make your build.

💡 Give yourself time to build. It probably won’t be quick, and many things might not work, so you will need time to fix things.

Before you connect the controller, make sure that the OSC messages in the build are working.Additionally, the program might run slower on your smartphone than on your computer.

OSC Messages



There are two parts to an OSC message: the destination and the values.

For an OSC message, you need:
  • IP Address
  • Port
  • Destination

→ These are things you should determine in your OSC object on the UNITY project.

Connecting Controller to Android



Something you have to ask first is: is your smartphone class compliant? Can I plug in an external keyboard to my phone? Pay attention to the order in which you are connecting your devices.

Things to think about:


For Unity:
  • Investigate the Post Processing Values to change things with the camera.
  • How can we change the colours in the game to give player feedback? Could sounds be used instead? Would that be more effective?
  • Is the camera position ideal for my user?

For controller:
  • Should it be wireless? What experience do users have if you remove a couple of cables?
  • Why have the experience on a phone? Are the users seeing something on their screens?

Practice Exercise:


  • Come up with an idea that uses multiple devices.
    • Create a map of how it is going to work. Is it an installation? How many Arduino do you need?
    • Come up with a fun idea and create a network map: what are the devices? What are they running? How are they talking to each other?
    • What messages are they sending and receiving? What is the program doing with those receiving values?
    • What versions of Android/Windows/iOS are you running?
    • Are there limitations between wired and wireless?


Feel free to reach out to me for more work inquiries or to chat!


Thank you for visiting!

©2023 Thaís Alvarenga. All Rights Reserved.