Journal Entry 4


Date: 18.3. 2023

Activity: Tried scripting and coding mainly collectible objects which change player attributes in the first part and on visual and audio effects in the second part.

Notes: Regarding the power up part there isn't much to it, just detect collision and then change some player attribute. Coroutines are a useful and interesting tool to have anything last for desired time (Invoke is another way to achieve this). Another interesting tool are the Unity Events (makes for good OOP in the code). About the animations and sound effects - there are multiple ways to achieve desired outcomes - straight through the script or through the animation window. The animation window is much more intuitive and pleasant to work with.

Invested hours:  Coding: ~4 hours

                                     Playing with the objects in the game and tweaking constants: ~30 mins

Outcome: Build of basic 2DGameKit Zone1 with one extra 'Key' object which acts as a power enlarging the player briefly - everything interesting is in the coding side of game.

Files

MySecondScripting.zip 84 MB
Mar 18, 2023

Get Project T

Leave a comment

Log in with itch.io to leave a comment.