Friday, May 31, 2013

Now that I have told you about coding, we can get back to the game that I am working on.

After I made it so that the player could move around I made it so he could jump and climb walls.

This was done by shooting a sensor called a ray cast. A ray cast senses when it hits something or when an object is close from where the ray cast is being shot from.

So I programmed it so that if the ray cast is hitting a wall while the space bar is pressed down, then the player will climb(move up) the wall. This makes it so the player can get to where he needs to be.

No comments:

Post a Comment