{"author_link":"\/users\/tinglo2233","author_name":"tinglo2233","author_uid":"tinglo2233","comments":[],"epoch":1537099179,"event":"LD42","format":"md","ldjam_node_id":119653,"likes":7,"metadata":{"p_key":"122074","p_author":"tinglo2233","p_authorkey":"1119007","p_urlkey":"338109","p_title":"The making of Pianobots","p_cat":"LDJam ","p_event":"LD42","p_time":"1537099179","p_likes":"7","p_comments":"0","p_status":"WAYBACK","us_key":"1119007","us_name":"tinglo2233","us_username":"tinglo2233","event_start":"1533859200","event_key":"73","event_name":"LD 42"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD42","removed_author":false},"_superparent":97793,"_trust":1,"author":119007,"body":"Hi everyone, I'm one of the makers of [Pianobots](https:\/\/ldjam.com\/events\/ludum-dare\/42\/pianobots)!\n\nA couple of weeks ago, some people asked about the puzzle design in Pianobots, so...sorry for taking so long, finally I have some time now to do some sharing! \n\nFirst of all, thank you all who played our game and made Pianobots the **3rd** \ud83e\udd49 in **INNOVATION** of LD42 **JAM**! It really made our day :D \n\nThere's two of us, [@fonserbc](https:\/\/ldjam.com\/users\/fonserbc) dealing with the programming and visuals, and me in charge of the level design and sound effects. \n![17994.png](\/\/\/raw\/fd0\/d1\/z\/1abb9.png)\n\nBefore the jam, we knew we wanted to make a music-related game. After brainstorming we came up with the concept of limited space you have in a piano keyboard, where you can't have unlimited hands trying to play the piano at the same time, because you would eventually clash with each other. Maybe we could make a game out of trying to fit hands and music lines into a limited size keyboard!\n\n### Refining the concept\n\nOnce we had the idea, we first thought of the easiest way to present and develop this idea within three days.\nWe first decided to go with one-finger robots instead of multi-fingered hands for simplification, each robot could only be playing a single note at a time, creating their own melody.\nThe second decision was to give up on *time differences* between robots: let me explain.\nWhen playing on the keyboard, there are 2 different dimensions where the robots could be moving their melodies:\n- *Space\/Pitch*: robots can move up and down on the keyboard, shifting their melody in pitch.\n- *Time*: robots could delay or get ahead when playing their melodies, changing the rhythm and the synchrony with the other robots.\n\nWe decided to not allow time shifting for the melodies, and try to make puzzles playing only with the pitch. Looking back this was a good idea, but we still had many questions we had to answer:\n\n*How many robots on a keyboard? How many octaves should the keyboard have? How long is a loop or song? What's the smallest unit of musical time?*\n\nThere are way too many directions and potential to make the puzzles more and more difficult to make and play.\nIn the end, we decided to go with these rules:\n- **Robots can only play a note at a time**\n- **Robots are always in rhythmic sync**\n- **All pieces happen in a one octave keyboard**\n- **2-3 robots playing at a time at most**\n- **8 or 16 time units in one loop\/piece**\n\nThe reason for only a one octave is straight-forward: to shrink down the possible combinations of robots. However, to compose a loop within one octave played by 3 robots is quite difficult. \n\n### Composing the levels\n\nAt first I tried to come up with a three-voice line, and then just cross the notes. By that I mean that the three voices shouldn't always be parallel to each other, otherwise it'd be either too difficult to find the right intervals between them because there is too much space between them, or too easy because they would either clash totally or not at all.\n\nAfter crossing them though, the voices didn't sound so musical, so I realized that all lines needed to be a mixture of notes that are 1 and 2 time-units long. Musically speaking, I went from a three-voice harmony to a *counterpoint* approach.\n\nAfter some struggles, [@fonserbc](https:\/\/ldjam.com\/users\/fonserbc) made a tool for me in Unity that, after inputing all the voices (robots) of a piece, it showed me how many possible positions are there for each of the robots, and how many non-clash combinations are there of all the robots (and how many of them are repeating).\n\nLet me explain: A combination of robot positions represents a possible solution to the piece\/level. If it is a *not clashing* one then that means it is a possible solution, but there might be more than one combination with the same sound output, meaning that all the robots are shifted up or down, on a different key, but they all are the same answer.\n\nIn conclusion, here are some guidelines I came up for myself for puzzle making on Pianobots: \n1. There should be less than 15 non-clashing possibilities. \n2. Among all the non-clashing possibilities, there should be ***ONLY*** 1 that *sounds* right. (Not counting the repeating ones)\n3. Voices shouldn't be parallel with each other all the time. Otherwise it become either too easy (never clash) or too difficult (too many possibilities). \n4. Each line should be rhythmically different, to make it as musical as it can be.  \n5. To make it easier, try to make one of the robots limited with only 1-2 positions. E.g. in level 2 *Etude in C*, the first robot has only one position possible because it plays across the whole octave. That's why it's actually easier than level 4 *Sonata in C* even though that one has only 2 robots.    \n6. Try to make one of the robots a well-known melody line, so players have something to lean on. (Even though most of them turned out to be very hidden ..oops) \n\n\nThat's more or less it! \n\nComments, questions and advice welcomed. \nIf you haven't played the game please try it out! \n\n ","comments":0,"created":"2018-09-16T09:45:26Z","files":[],"files-timestamp":0,"id":119653,"love":7,"love-timestamp":"2018-11-07T23:33:32Z","meta":[],"modified":"2018-11-07T23:33:32Z","name":"The making of Pianobots","node-timestamp":"2018-09-16T11:59:39Z","parent":111900,"parents":[1,5,9,97793,111900],"path":"\/events\/ludum-dare\/42\/pianobots\/the-making-of-pianobots","published":"2018-09-16T11:59:39Z","scope":"public","slug":"the-making-of-pianobots","subsubtype":"","subtype":"","type":"post","version":358441},"node_metadata":{"n_key":"119653","n_urlkey":"338109","n_parent":"111900","n_path":"\/events\/ludum-dare\/42\/pianobots\/the-making-of-pianobots","n_slug":"the-making-of-pianobots","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"119007","n_created":"1537091126","n_modified":"1541633612","n_version":"358441","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/42\/pianobots\/the-making-of-pianobots","text":"Hi everyone, I'm one of the makers of [Pianobots](https:\/\/ldjam.com\/events\/ludum-dare\/42\/pianobots)!\n\nA couple of weeks ago, some people asked about the puzzle design in Pianobots, so...sorry for taking so long, finally I have some time now to do some sharing! \n\nFirst of all, thank you all who played our game and made Pianobots the **3rd** \ud83e\udd49 in **INNOVATION** of LD42 **JAM**! It really made our day :D \n\nThere's two of us, [@fonserbc](https:\/\/ldjam.com\/users\/fonserbc) dealing with the programming and visuals, and me in charge of the level design and sound effects. \n![17994.png](\/\/\/raw\/fd0\/d1\/z\/1abb9.png)\n\nBefore the jam, we knew we wanted to make a music-related game. After brainstorming we came up with the concept of limited space you have in a piano keyboard, where you can't have unlimited hands trying to play the piano at the same time, because you would eventually clash with each other. Maybe we could make a game out of trying to fit hands and music lines into a limited size keyboard!\n\n### Refining the concept\n\nOnce we had the idea, we first thought of the easiest way to present and develop this idea within three days.\nWe first decided to go with one-finger robots instead of multi-fingered hands for simplification, each robot could only be playing a single note at a time, creating their own melody.\nThe second decision was to give up on *time differences* between robots: let me explain.\nWhen playing on the keyboard, there are 2 different dimensions where the robots could be moving their melodies:\n- *Space\/Pitch*: robots can move up and down on the keyboard, shifting their melody in pitch.\n- *Time*: robots could delay or get ahead when playing their melodies, changing the rhythm and the synchrony with the other robots.\n\nWe decided to not allow time shifting for the melodies, and try to make puzzles playing only with the pitch. Looking back this was a good idea, but we still had many questions we had to answer:\n\n*How many robots on a keyboard? How many octaves should the keyboard have? How long is a loop or song? What's the smallest unit of musical time?*\n\nThere are way too many directions and potential to make the puzzles more and more difficult to make and play.\nIn the end, we decided to go with these rules:\n- **Robots can only play a note at a time**\n- **Robots are always in rhythmic sync**\n- **All pieces happen in a one octave keyboard**\n- **2-3 robots playing at a time at most**\n- **8 or 16 time units in one loop\/piece**\n\nThe reason for only a one octave is straight-forward: to shrink down the possible combinations of robots. However, to compose a loop within one octave played by 3 robots is quite difficult. \n\n### Composing the levels\n\nAt first I tried to come up with a three-voice line, and then just cross the notes. By that I mean that the three voices shouldn't always be parallel to each other, otherwise it'd be either too difficult to find the right intervals between them because there is too much space between them, or too easy because they would either clash totally or not at all.\n\nAfter crossing them though, the voices didn't sound so musical, so I realized that all lines needed to be a mixture of notes that are 1 and 2 time-units long. Musically speaking, I went from a three-voice harmony to a *counterpoint* approach.\n\nAfter some struggles, [@fonserbc](https:\/\/ldjam.com\/users\/fonserbc) made a tool for me in Unity that, after inputing all the voices (robots) of a piece, it showed me how many possible positions are there for each of the robots, and how many non-clash combinations are there of all the robots (and how many of them are repeating).\n\nLet me explain: A combination of robot positions represents a possible solution to the piece\/level. If it is a *not clashing* one then that means it is a possible solution, but there might be more than one combination with the same sound output, meaning that all the robots are shifted up or down, on a different key, but they all are the same answer.\n\nIn conclusion, here are some guidelines I came up for myself for puzzle making on Pianobots: \n1. There should be less than 15 non-clashing possibilities. \n2. Among all the non-clashing possibilities, there should be ***ONLY*** 1 that *sounds* right. (Not counting the repeating ones)\n3. Voices shouldn't be parallel with each other all the time. Otherwise it become either too easy (never clash) or too difficult (too many possibilities). \n4. Each line should be rhythmically different, to make it as musical as it can be.  \n5. To make it easier, try to make one of the robots limited with only 1-2 positions. E.g. in level 2 *Etude in C*, the first robot has only one position possible because it plays across the whole octave. That's why it's actually easier than level 4 *Sonata in C* even though that one has only 2 robots.    \n6. Try to make one of the robots a well-known melody line, so players have something to lean on. (Even though most of them turned out to be very hidden ..oops) \n\n\nThat's more or less it! \n\nComments, questions and advice welcomed. \nIf you haven't played the game please try it out! \n\n ","title":"The making of Pianobots","wayback_source":[]}