11/13 - 11/17
- Nathan Matarazzo
- Nov 16, 2023
- 1 min read
This week I added some new features to my game project. Mostly, however, I mainly just cleaned up the code. I added a feature so that a player will have a defense attribute that will affect the speed of the other player when they are on offense and colliding with the defender. I also added a feature where the player will turn to face the ball if they don't have the ball in their hands. Furthermore, I added some other abilities, but I spent a lot of my time cleaning up some of the code and putting comments, explaining what each part does. Before, my code was really messy, and borderline unreadable. I also figured out how to do the attributes of the characters, and which values should be placed on which variable according to different attributes of different playable characters. I updated my GitHub repository as well.

I also added a badge onto the top corners of each screen that will display an icon of each character for players 1 & 2.



Comments