Journal Entry 4
Date: 18. 4. 2025
Part 3:
- Added key that invokes effect of getting bigger (in 1.5 times) for Ellen
- Learned more about invokes, OnTriggerEnter2D, enabling and disabling objects
Part 4:
- Created spinning and idle animations for the power-up item.
- Used Animator Controller with a boolean parameter to switch states (enabled/disabled).
- Replaced coroutine-based flickering and transparency logic with animation clips and curves.
- Added a floating effect and a sound using Animation Events.
What I learned:
- How to control animations using state machines and parameters.
- How to use Animation Curves for smooth movement.
- How to trigger sounds at specific animation frames with Animation Events.
- Cleaner design by moving visual logic from code into animations.
Invested hours:
- Animation setup & scripting: 3.5 hours
- Animator transitions & testing: 1 hour
- Devlog: 15 mins
Files
Get Project T
Project T
More posts
- Journal Entry 355 days ago
- Journal Entry 267 days ago
- Journal Entry 175 days ago
Leave a comment
Log in with itch.io to leave a comment.