
Coding Blog
Things I have learnt from my projects.

Solenopsis
Solenopsis

Health Pick-Up
I was proud of this script as it was something that added a nice touch without being too much. It also made the collectibles appear more alive and interactable.

Moving Platform
This script was interesting to work on as I had no idea on why the player was just falling off when the platform moved and I spent quite a long time before I realize that object in the scene will move independently unless that object was a child of another object. Needless to say, having spend so much time on this one script, I am proud to share this script.

Illumination
Illumination

Light Control
The most important aspect of the game was condensed into just one Method with 2 lines

Sound Manager
Making this script was a new experience for me as this was the first time I tried making a sound manager that works for every level and will carry over to the next scene. I realize that by making use of "PlayerPref" was the best way to do it with the skillset that I had. This way, the values for the volume setting will remain the same for each level. The sounds are also all affected by the same slider by using use of an "Audio Mixer Group" and assign it to respective sounds.


Ristorantê Defenders
Ristorantê Defenders

Enum Control
By using enum, I was able to make this script more efficient as it will only check for which button is being pressed on update, instead of having it check each and every thing in the abilities every frame.


Arena Overflow
Arena Overflow


Local Multiplayer
By creating a enum and assigning each one to a strip respectively, I was able to make a script that can be used for both players. The controls were on a keyboard and a controller.


Chicken Journey
Chicken Journey
Gate Key system
A gate key systems sounded easier to do in my head, I had no idea how hard it would be and it took countless hours of research and debugging. The result was worth it in the end however. It made the puzzle much more interesting as it was made to open only when the keys were collected in the intended order.