This is the base part of my second mario game which I am making along with @Puppetbum, just ignore it unless you are them.
I coded this engine, but I learned from ShiftClickLearn and Griffpatch's tutorials.