teaching machines

Honors 104.502 Lecture 10 – Shuffle Cup Cont’d

February 24, 2016 by . Filed under honors gamedev, lectures, spring 2016.

Agenda

TODO

Note

Last time we started Shuffle Cup and used coroutines to stage a mostly manual animation of lifting cups. We introduced the Lerp function to linearly transition between two stations. Today we want to shuffle those cups, but not linearly! We’ll make the cups follow a quadratic path from one slot to the next.

Code