Hello! I'm currently trying to make a game that's almost like a mix between bejewlled and bubble bobble, where the player is walking along the bottom of the board while sending bubbles to float to the top, match with 2 or more of the same color, then all disappear.
so far I've only been able to manage keeping the player at the ground level using
vertical [ > player ] -> [ player ]
vertical [ > player | crate ] -> [ >player | >crate ]
vertical [ > crate | ] -> [ | > crate ]
however when i run this, my object instantly goes beyond the wall to the very border of the screen. How can I make my object stop at the wall, and also slow it down so there's a bit of time before the object collides with the next object/wall?