Good job! That is a very clever design choice :) I will admit I didn't quite get to the end, but I like the variation you introduced (using the same design, but adding obstacles to it). Only thing I would point out - don't make the player restart the level. Kill them if the platform gets too far. The most basic one used in games is fire, but anything really - considering the restrictions of the 2D game kit - a text bubble pop up with the character commenting on their dire ending and then the game restarting itself. This makes the difference between a meaningful decision and something that might feel more like a bug than a feature.
Take this as food for thought for your next work and assignments.