Also, instead of tracing continuously we could have a "bWallTouching" so we could jump only while touching a wall (or next to it, I guess). There are already events, so on touch it'd set it to true, and when you stop touching an object, it'd be false. Then, when a player hits jump, it'd check if you're on ground, do normal jump, if you're touching a wall, do a "away from wall" jump.
2 comments:
That's freaking awesome! We'll have to get the features in first, and then start tweaking them ;)
I wonder if it will need a limit on how many jumps you can do at once :D
Also, instead of tracing continuously we could have a "bWallTouching" so we could jump only while touching a wall (or next to it, I guess). There are already events, so on touch it'd set it to true, and when you stop touching an object, it'd be false. Then, when a player hits jump, it'd check if you're on ground, do normal jump, if you're touching a wall, do a "away from wall" jump.
Post a Comment