Journal Entry 4


Date: 22. 3. 2023

Activity:
 - Went through scripting walkthrough 3 and 4

Notes:
Since I have prior experience working with unity, there wasn't really anything new for me here. I definitely over-engineered the effects system (as I usually do) and through that, learned something new. I made a PlayerEffect class to handle all player effects and then I wanted to have an array of possible effects that the powerup could easily choose from. I didn't find a simple way to add a dropdown to the inspector so I decided to try making a custom editor script. I don't have much experience with editor scripting so this was pretty new for me. Eventually, I figured it out and now each powerup can simply choose an effect from a simple dropdown menu. (Though I guess not everything was correct since unity complained about compiler errors when I tried to build the game, even though everything worked fine in the editor so I had to disable the editor script before building)

Invested hours:
About 3.5 hours

Files

Lab04.zip 87 MB
Mar 22, 2023

Get Project T

Leave a comment

Log in with itch.io to leave a comment.