CAGD 370 Blogpost 2

 Tasks Assigned

For Sprint 2, I was assigned 6 cards to complete as the programmer. The tasks included getting a third person camera to work for the player along with some controls, getting the player to jump, incorporating a double jump, wall jump, and an option of playing as a smaller and faster ball. Due to me being able to complete all my cards last sprint, I told the lead of our team that I could handle a little bit more workload for this sprint. I may have accepted too much on my workload, as the cards were a little more complex and I ran into coding issues.

Camera Control Script

Cards Completed

For the cards completed, I was able to complete 3 of them. Two of them was having a third person camera that worked for the player and having it follow the player. This was a simple card at first, but for it to work and give the player a fun experience, elements had to be added to it. For example, I had to add code to the player movement script so that the camera would turn in the direction that the player was facing. I also had to make it where the camera would follow the player. This was important because the camera would sit stationary no matter where the player moved. Another card I completed was letting the player jump so they could platform around the level. This is important because our level progresses vertically at the beginning of the level, so the player needs to jump to advance through the level.

Cards in Progress

A card that is in progress for me is giving the player the ability to wall jump. This was supposed to be the unique aspect to our platform and would have made the game more fun. However, with unexpected issues combining this aspect with the jump function, it is still a work in progress. This will have to be completed next sprint due to bugs and errors coming up in the code since the scripts are becoming more complex.

Incomplete Cards

I currently have two cards that are incomplete. The first one is having a double jump added to the player. This would let the player have more fun platforming and get to do more tricks in the air. Due to the regular jump function not working with the wall jump, the double jump will be postponed to the next sprint. The other incomplete card is creating a smaller and faster ball that the player can play as. This would give the player an added challenge as they have a higher chance of losing control and falling off the level. This is now seen as a stretch goal since we need everything to work for the original ball first.

Added Script Values for Camera

Issues

The biggest issue that I ran into was that the jump function was not working as intended when I added new code to the player movement script. This was an issue that took up a large amount of my time since I had to debug and test run the code many times. Unfortunately, I do not have a player movement script that is fully functional yet. The jump and move functions work alone, but do not when using both at the same time. For example, if the player jumps but tries to move midair, Jumper (the player) teleports back to the ground. This makes it impossible for the player to jump from platform to platform.

Jump Script

Solutions

A solution I made for this problem was starting with the basic code I initially made. That way I was able to see what lines of code made the errors appear. This helped somewhat, because I still need to find a way to have all these different components work together smoothly.

Comments

Popular Posts