09/28/2025
Sprint 2 Kickoff
Welcome back to my blog guys today I will be covering how my team and I’s progress went for our Sprint 2 for our Sundance game project. I will also be going over the work I was able to accomplish and some of the issues we encountered. Let's dive into our games working Progress.
As for this sprint, I was assigned some more programming cards to accomplish, and they all had to do with expanding upon the work I had completed last sprint. Which was essentially our player prototypes basic movement mechanics. Having all that setup I started working on 2 key things. Our players dash mechanic as well as the double jump mechanic. Since I knew one was going to be harder to do than the other, I started with the one that would take me longer, which was the dash. My card for this entailed me to set up a dash mechanic for players to use whenever they would double click either A or D at a certain moment. So, I started to experiment a bit with my already made player script. First thing I needed to do was to alter my movement function to now also check if I have clicked either the A or D key within a single time frame in order to activate the dash mechanic. I did this by writing a couple new variables and making a Boolean as well to check when I am dashing.
After creating these it took me a while to figure out how to implement them correctly but after a couple tries, I was able to do so. I basically had to tell unity to remember the last time I had pressed one of the keys and if I hit that key within a certain timer, I would suffice the criteria I needed to dash.
Working on the Jump was a lot simpler and easier to do. For this mechanic I did not have to check If I had double pressed the space bar within a certain time. Instead, I would only need to check if I have jumped once then I can only jump once more. I was able to accomplish this by using my existing Boolean that checks if I am grounded and a couple new int variables that would count how many jumps I have used and setting my max jumps to 2. This would allow my player to jump if I am grounded and once, I have jumped I could only jump one more time. Additionally, both of these mechanics needed to work without messing up any of my old movement code. On top of that as well I would need to further implement a counter that only allows me to use those abilities if I have picked up a sun charge. In game my player could simply collide to one of the sun nodes and the count would go up. Following that I would then have to simply implement that count check into my if statements.
Overall, as a whole team this sprint we had a little bit of a rocky start. We ended up having to change our team's meeting time to a whole new time and date in order for everyone's schedule to align better and ultimately it did not work fully to our advantage, costing us quite a bit of confusion and time spent on the project. We were able to discuss this issue as a team and going forward we are all going to start dedicating more time and meeting at our appropriate times in order to prioritize what needs to be done on time.
No comments:
Post a Comment