Journal Entry 1


Activity: 

  • Add the bullet shooting mechanics.
  • Add different bullet types

Invested hours:

  • Reading a document and adding ahooting mechanics: 4-5h

Outcome:

  • Finish Scripting Walkthrough - Part 1

Notes:

  •   I encountered several minor problems, mostly due to my own inattention. For example, I spent about 20 minutes trying to change the sprite's color from a ScriptableObject via script, only to realize the alpha was set to 0 in the ScriptableObject's color. 
  • Additionally, I spent an obscene amount of time trying to adjust the bullet's rotation and sprite flipping, because I misunderstood how sprite flipping and rotation work. However, in the end, I successfully added three bullet variants and placed the list of ScriptableObjects inside the BulletController script, so the ShootingController doesn't need to handle random bullet generation itself.

Files

GameBuild.zip Play in browser
48 days ago

Leave a comment

Log in with itch.io to leave a comment.