top of page
Search

Boss Slam

  • Writer: christian chinchilla
    christian chinchilla
  • Jun 7, 2021
  • 2 min read

So the problem that I was facing for last week was trying to get the boss to have some sort of multi-attack where he has two attacks against the player instead of just one attack. The way I wanted this to go about was to give the boss a leap attack so that if the player was too far for a melee attack it would leap to try and gt close to the player. The problem that I was facing was that it wouldn't do the task after the code was written. And I was confused on why it was doing that and it was really starting to get to me because I thought that I was doing something wrong with the code. After I while I asked one of my teammates for another pair of eyes to see if I was missing something or was doing something wrong. And it turned out I was doing something wrong in the code that just passed my gaze and he was able to see it and explain to me why it was doing that. And after that, the boss still didn't do his leap attack but this time it wasn't the code it was the behavior tree that was giving us the issue now and so I had to change up the behavior tree a little to where it doesn't check to if it is dead first because that was causing him not to move. But after those changes, the boss started doing his leap attack even though he still needs to work with it, it is nice that he at least has that leap attack on him now.


 
 
 

Recent Posts

See All
We learn from Our Mistakes

This was the final week of working on this project. I primarily try to fix the problem we had with saving from last week. Due to time...

 
 
 
Would You Like to Continue?

This was our final week to add anything new to the game. One thing we tried before but couldn't really figure out at the time was saving...

 
 
 
Going Code Blind

Finding and fixing bugs is a part of programming, and some bugs are very troublesome to find the root of their cause. Often times I find...

 
 
 

Comments


Post: Blog2_Post
  • Facebook
  • Twitter
  • LinkedIn

©2021 by C monkey. Proudly created with Wix.com

bottom of page