I need help on making sidescrolling sections.

So basically, I need help with making side scrolling sections similar to Super Mario Bros. Or, Chrono Trigger, Or Lisa.
I just need help on how to make the collision needed to make said sections for my game.
Can you be more specific? In my mind, the only difference between RPG Maker sprites moving left and right on a roughly top-down map or a sidescrolling level is how the artwork portrays it - what needs to be different in the collision handling?
I think he means platformer.
If you want to do it with pictures and pixel movement and are using like: if *right* is pressed add +3 to variable "character x" and move character pic to (character x, character y), then I guess you can just check the character "hitbox" coordinates and use a conditional branch to set them to a specific value if it's hitting an object on your map. Like suppose there's a box before you at certain coordinates. Then you'd write a conditional that sets you back to the left edge x if your character bottom y is below the box top y. If you are above the box with your y coordinate, then the x coordinate changes like normal. If you have floating objects, you need to have different sets depending on whether you are top/below/left side/right side. Someone who knows how to code can tell you how to make it easier though 😀
Thanks man!

Original thread: https://forums.rpgmakerweb.com/threads/i-need-help-on-making-sidescrolling-sections.145068/