Platform style stairs, where you can choose to go on them or not. It’s a very non-trivial problem. I’m not posting anything until it’s done.
Written by MM. Posted at 11:27 am on October 5th, 2009
5 comments.
Post a comment.
The simplest solution is always the best.
With that in mind:
if(Math::random()>0.5)
{
this.state = STATE_CLIMBING;
} else {
this.state = STATE_ONWARD!!!!;
}
Doesn’t Little Big Adventure solve this problem by adding layers? I haven’t played the game, but it looks so in the promo materials. As far as I get it, the problem is: how to easily and firmly decide whether you are going straight or up the stairs, when you run and jump forward. This would be a clean solution: stairs are on one layer, floor is on the other; you can change the layer with a special button. Of course then it is a problem o communicating which layer the player currently is on, so it would be clear. This is even more non-trivial in a graphically 2d game like Link-Dead.
Making the gameplay multilayered would of course be a big design decision.
I am curious of your solution.
>=[
After playing that demo thing you guys have this game seems pretty awesome. When is it going to come out? soon? I’m looking at the older posts here and it dates back to 2007.
I was going to suggest making the decision by checking where the player is looking, but that would create a major gameplay problem, such as looking at someone on ground level and attempting to climb the stairs.
You can do that by pressing Up and left to go up or just left to pass by the stairs. Jumping could be a different key and it won’t make the character hard to control.