top of page
Search

Going Code Blind

  • Writer: Cody Mader
    Cody Mader
  • Jun 20, 2021
  • 1 min read

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 myself discovering a bug and searching for hours to find out what's causing it only to find out it was a simple typo somewhere in my code or a node connected to the wrong thing in blueprints. After staring at your work for a while you tend to miss the simplest mistakes and go "Code Blind".

Sure enough, when I added additional challenges, a bug popped up right before a build submission that caused them not to track weapon kills. I went pasted code freeze trying to figure out the cause but to no avail. The following weekend I requested help from a friend and within a few seconds, he immediately noticed the issue I went blind too. It was a simple logic error where I was incorrectly using the .contains() function to check weapon names. Moments like that remind me to ask for help if you are having trouble finding issues in your code after staring at it for a while.

 
 
 

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...

 
 
 
Getting to close

The one main problem that I was mainly facing was having it to where the boss would leap to the player when doing his leap attack. Mainly...

 
 
 

Comments


Post: Blog2_Post
  • Facebook
  • Twitter
  • LinkedIn

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

bottom of page