4/8 - 4/12
- Nathan Matarazzo
- Apr 12, 2024
- 2 min read
This week, I basically just got a bunch of work done in fixing some bugs in the game. I spent most of the week testing out the game play and trying my best to fix any bugs that I came across. There were many bugs that I fixed over the course of this week, and I only really have a couple more bugs to fix. Also, I still have to make the assets for character animations and for the backgrounds. Hopefully, I can finish the game by May 1st. Then, after that is finished, I want to start doing the electronics for the arcade machine. Next week is April break, so I won't have school or shop at all. Also, this week we had Wednesday off from school, so that affected the amount of work I was able to get done this week, in total.
In terms of the bugs I fixed this week, I had a few that took me a while, and a couple that were easy fixes. The biggest bug in the game that had been afflicting me for a while, was that the AI players in the Co-op mode would just steal the ball randomly, even when they were no where near the person with the ball. After a while of testing out solutions, I figured out that there was a problem with the collision detection and the player tags that were meant to distinct one player from another in the Co-op mode. This is shown in the code, in the second and third pictures below. There was also a bug, for whenever the ball wasn't explicitly shot, and it went through the rim, it wouldn't count for any points. I fixed this with some code in the first picture below, that counted 2 points for that instance, and showed a text game object. There were also several bugs with the AI code, that I wanted to improve on, as seen in the last picture seen below.







Comments