Cadenza of the stars

About the game

I was commissioned, as part of a team of 2, by the YMCA to produce a game for their employees to connect with the kids they are mentoring. The game allows for 2 players to connect online by creating musical constellations in the stars. It takes players through a journey of one night in a mystical atmospheric world and tells a story of growing up through visuals, music and narrative with the aim to create discussion between players.
The game was developed over 7 weeks with regular progress meetings.

My work

As the sole programmer on this project I was in charge of implementing the gameplay along with the networking code.
The stars in each level are generated based on a grid so that they never overlap each other. The grid positions are moved by an amount smaller than each cell size to remove the grid pattern of the star placement while also ensuring that there are no overlaps.
Stars are connected by adding them to a list as the player draws between them, this allows the player to undo connections in the order in which they were drawn and is also used to detect which stars have connections for the strumming effect which uses the notes assigned to those specific stars.