Monday, August 11, 2014

Dev Blog 37 - Code Review

As we get closer and closer to release, today I decided to review all of the 36 scripts written for Enigmatic. The purpose of this review was to clean out old comments, remove unused variables, and delete forgotten TODO statements so that if anyone uses the publicly available Git repo as a reference or learning tool, they won't be completely lost.

After performing a code review of all scripts in Enigmatic, the following were cleaned up &|| edited:

  • Player.cs - Added comments, removed unused commented out code
  • PlayerAction.cs - Added comments, removed Debug statements
  • ProjectileScript.cs - Added comments
  • RiddleScript.cs - Added comments, removed unused commented out code
  • FinalRiddle1.cs (as well as 2 & 3) - Removed Debug statements
  • FinalRiddleQuit.cs - Added comments
  • FinalRiddleText.cs - Added a commment, deleted unused Update() function
  • levelSelect.js - Deleted, script is no longer used
  • XOnRailsPlatformX.cs - Deleted, script is no longer used
  • mainMenuKeyboard.js - Added comments
  • IntroductionScene.cs - Removed an unused variable
Update: Fixed a small bug where the background music from the final riddles was bleeding over into the end credits.

No comments:

Post a Comment