Showing posts with label Project.. Show all posts
Showing posts with label Project.. Show all posts

Sunday, 8 December 2019

Week 11 - Project Beta(?)


Week 11 - Project Beta

"Beta" : "A pre-lease version of software that is given out to a large group of users to try under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as a result."

oh boy. If this is the definition of Beta, then my game is too far judging by its current state. I finally got my time sorted and began working on it. The weeks before I just put the script in the assets folder so I can work on it when I have the time. What I wasn't aware of is that the scripts are rather incompatible and does not function.

The scripts that started having this problem are:
First, Health Script - A certain value needs to be added to the enemy and player as Health points. This is simple enough... but it's the second script that gives the most problems.

Second, Damage Script - It's similar to the Health Script where a value has to be set as the damage value. But the catch is that the Health Script and Damage Script MUST interact with each other to work. When the projectile; which the Damage Script is attached to, hits the enemy, it must decrease their health and when it drops to 0, the enemy must get destroyed.

For whatever reason, the health and damage script are not working.
There were no errors on the compiler so I have no idea what went wrong.

There was no obvious and hidden signs that the script wasn't working and I can't figure out what went wrong. It's been a full day working on this and it felt like going nowhere.
The enemy is given 10 HP, I was firing projectiles that deal 1 damage.
I have already fired more that 30-ish shots.
If you look at the console; no errors.
This is what a not-so-peachy Unity day looks like...
So with no productive progress has been made this day and everything has gone wrong. At this point, failing this course is as easy as the dying was during the Black Plague.

Please have a nice day.

Semester 2 Week 6 - Unity 6

Unity Tutorial 6 Alright there's something wrong with Unity today. For the tutorial, there a section that requires you to set up ...