Today's class consisted of the same as yesterday, I was looking up how to code what I needed and then inputting it into the code wall for the game. I managed to finish setting a jump key and the gravity, along with the movement keys. (check for not moving) is saying that when neither the left or the right key are being pressed the player speed is set to 0, and if both keys are pressed at the same time, player speed is set to 0. The gravity code is saying that if the players vertical speed (jump) is greater than 10, gravity will pull the player back down to the platform. tomorrow will consist of more coding and perhaps giving me player a face.

No comments:
Post a Comment