The tutorial mentions:
“For example, in a platform game, you may wish to construct “one-sided” platforms that the character can jump vertically through, but only in one direction.”
This is exactly what I need, but I’m not sure how to go about it. Can someone please help me? I have lots of blocks as well as two player-controlled monsters, and the monsters should be able to walk through the boxes from left to right as if they didn’t exist… however, the monsters should be able to jump on these boxes when the player hits jump.
I have the player sprites and platforms set up, they’re all physics bodies, and I know how to create the event listeners and so on. I just don’t really understand how to about this one sided platform task now…
Thanks!! [import]uid: 10284 topic_id: 4010 reply_id: 304010[/import]