Journal Entry 9
Project T » Devlog
Date: 23. 4. 2025
Activity:
- Completed at home the Scripting Walkthrough Part 5 & 6 (started in lab, finished at home)
Notes:
We tried Unity's Animation Clips and Animator Controller to drive an enemy GameObject. The enemy moves between two waypoints, pauses for 2 seconds at each endpoint, and triggers its attack animation every 5 seconds.
Implemented a singleton pattern via DontDestroyOnLoad
to persist the PlayerHealth manager across scenes. Created simple Damager and Healer objects to test health modification.
I completed only a bit in the lab (~10%), I finished the majority at home.
Invested hours:
- Lab – Scripting Walkthrough Part 5 & 6: 20 minutes
- Home – Scripting Walkthrough Part 5 & 6:: 70 min
Outcome:
- Successfully completed the Scripting Walkthrough.
- Uploaded the final result to itch.io.
Key takeaways (summary by ChatGPT):
- Animations:
- Creating and editing Animation Clips and curves
- Building an Animator Controller state machine and Override Controller
- Setting parameters and firing Animation Events from scripts
- Physics & interaction: Rigidbody2D (applying forces), 2D Colliders and Trigger events
- Singleton pattern: using a persistent manager (
DontDestroyOnLoad
) to maintain state across scenes
These mostly hold true and are a great reference.
Files
Walkthrough56.zip Play in browser
3 days ago
Get Project T
Project T
mff-gdintro-2025-t
Status | Released |
Author | kosaak |
Genre | Simulation |
More posts
- Journal Entry 537 days ago
- Journal Entry 248 days ago
- Journal Entry 158 days ago
Leave a comment
Log in with itch.io to leave a comment.