DANGER : this broke but the online platformer test works fine aka https://scratch.mit.edu/projects/736770259/ it records: direction, costume x and y (the direction on touch devices is buggy with mouse controls though it will work fine if instead using buttons! (you must implement them)
griffpatch's tutorial but i changed some codes like adding direction + costume detection This is the version before i added in the scrolling engine To the online engine of online platformer test