basic platforming mechanism