Journal Entry 4
Date: 21. 3. 2023
Activity:
- Learn the basics of a coroutine, events, animations, and state machine in Unity.
- Added powerup (looks like a key), which on collision with the player, makes the character wide and short for 5s. After pickup, the powerup is disabled for 8s.
- Added animations for powerup. Flying in idle, flicking opacity when deactivated. Before activating 3 times play charge sound and flicking with colors.
Notes: That was the funniest of tutorials. Still scared of GetComponent(). Also, don't understand how an animation event can call a private method of another class.
Invested hours:
Scripting Part 3 (powerup mechanic): 40min
Scripting Part 4 (powerup animation): 30min
Page administration: 10min
Outcome: Build4 (uploaded to the itch.io page as a .zip file)
Files
Get Project T
Project T
Homework for university course
Status | Released |
Author | Gig4but |
Genre | Platformer |
Tags | mff-gdintro-2023-t |
More posts
- Journal Entry 5Apr 01, 2023
- Journal Entry 3Mar 14, 2023
- Journal Entry 2Feb 22, 2023
- Journal Entry 1Feb 15, 2023
Leave a comment
Log in with itch.io to leave a comment.