top of page

{

public void DuckDuckTreat()

Duck, Duck, Treat Wallpaper.png

Duck, Duck, Treat!

(Winter 2019)

Roles: Gameplay and Controller Programmer

Language: C#, Arduino

Engine: Unity

Links: itch.io

    Duck, Duck Treat! is a 2-player, 2D endless runner that is controlled with custom designed controllers, powered by Arduino. This project was a 4 person group project, made over the course of seven weeks.

    For this project, I designed the wiring of the controllers, as well as programmed them. I also created the character controllers to work with the data that the Arduino controllers sent to Unity.

    The controllers were each comprised of a soft potentiometer and a button. Swiping on the potentiometer determined which direction each character moved. To get this data, the Arduino would listen for an input on the potentiometer and compare it to the previous input. The controller then determined whether to move left or right based on whether the new data was greater than, or less than the old data. The button controlled a boolean that activated each character's special ability.

}

bottom of page