Closed Germanunkol closed 10 years ago
The clean solution is to correct the player-line-physics. I put it on my list.
The basic issue here seems fixed; I can no longer slide through walls (the ninja collides with the wall and falls down instead). However, now, once I've hit a wall while hanging on a line, I can later no longer hang on that same line. I can hang on other lines, though. And once I've tried that, then I can hang on that first line again. It's really weird.
The issue mentioned in my last post here is visible in the new level 9 - "They see me walking" (I think the names aren't in the correct order, but it's the one called "they see me walking" on the world map): When you start the level by running straight at the first wall, then touch it and then jump up (sliding up the wall), then the ninja can no longer hang on that line, even if I go back down to the ground and jump up again (this time without touching the wall).
Yes, that is a bug. I will fix it.
I changed the behavior as follows: If you have a collision, while hanging on a line, then you drop.
Also: If you have the grappling hook and use it, then lines do not work. (Grappling hook is prioritized over the lines) Is that what you would expect in the combination of grappling hook and line? Or would you expect something different?
Yes, this feels right. And falling down when hitting a wall is a good solution as well.
Cool
When you place a line so that the first end is on one side of a wall and the second end is on the other side, the ninja can pass through the wall while hanging on the line.
We either have to make this impossible in the editor (don't allow such lines) or make the ninja stop at the wall...