Journal Entry 5


Date: 20. 3. 2025

Activity:

  • Completed at home the Scripting Walkthrough Part 3 & 4 (started in lab, finished at home)

Notes: 

We delved deeper into Unity scripting, focusing on essential components like the Animator and Audio Source. The walkthrough resulted in an interactible object that affects the player, includes animation, and plays a sound.

Since I completed most of the walkthrough in the lab (~90%), I finished the remaining part at home while everything was still fresh in my mind.

Invested hours:

  • Lab – Scripting Walkthrough Part 3 & 4:  90 minutes
  • Finishing Part 4 at home: 20 min

Outcome:

  • Successfully completed the Scripting Walkthrough.
  • Uploaded the final result to itch.io.

Key takeaways (summary by ChatGPT):

  • Unity Fundamentals: GameObjects, Components, Prefabs, ScriptableObjects.
  • Core Unity Types & Methods: Transform, UnityEvent, SpriteRenderer, Awake, Start, Update, FixedUpdate, OnCollisionEnter, OnTriggerEnter.
  • Gameplay Scripting: Iterating over children, getting components, finding objects, coroutines, enabling/disabling components, activating/deactivating objects, destroying objects, instantiating prefabs, layers, tags, creating GameObjects dynamically.
  • Physics & Interaction: RigidBody2D, applying forces, colliders, triggers, handling input, using Time.deltaTime.
  • Animations & Audio: Creating animation clips, animating properties, editing animation curves, setting up an Animator Controller’s state machine, using Animation Events, playing sounds from scripts.

These mostly hold true and are a great reference.

Files

ScriptWalkT2.zip Play in browser
29 days ago

Get Project T

Leave a comment

Log in with itch.io to leave a comment.