Sunday, 1 May 2016

Unity 2D Game Prototype inspired by Soundrop (Unity Remote 4 on iPad Mini)

The concept of Soundrop game is quite interesting: you draw lines on the device and when the falling ball bounces off the line, it will make a short tune/noise. By creating a few more balls and lines makes the whole thing quite interesting.

Inspired by the game, I created a simple prototype. Took me a long time to get the interface working. Was have problem getting the positions of lines from LineRenderer and have to use a "List" to store the start and ending position of each line so that it can be modified later during dragging. Can now drag on the end points of each line to adjust the length and direction of each line. Still have problem with using double tap to remove the line. As a workaround, by reducing the length to very small amount, can achieve the same result.


Currently uses audio.pitch to adjust the sound depending on the time between current and previous collisions. I think if use more WAV files for different delay might get better result.

Still looks a bit rough when running under Unity Remote 4 on iPad Mini, compared with the much sharper and clearer screen on the Mac (about 43 second of the video).