the black square will be exactly mimicking your movements, only one second behind. (Inspiered by the celeste level 2, old site, boss fight.)
sry but i havent figured out how to work this in a scrolling platformer.