i have this "solid" problem in my beat'n up game, to make "FAKE SOLID" (so the enemy can enter in the screen but not leave.) i use:
PLAYER is overlaping TILED OBJECT
PLAYER x > TILED OBJECT X
PLAYER platform Set vetor force in X + 200
So they can enter but, if they try leave the force push they back