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.

Thursday 5 December 2019

Week 11 - Unity Free Tutorial


Unity Week 11


So I will make this post short, the fatigue is setting in and I can't stay awake past 12. There were issues regarding a functioning health and damage of which has a freely changeable variable for the values so they can take and deal a certain amount of damage.
This is so that in the future if I need to add multiple characters, I can assign an edited duplicate of the 
health and damage script to each of the characters.

The three characters, RED, GREEN and BLUE have different stats represented by stars.
Here's how it goes, for example:
DEFENCE has nothing to do with damage reduction but with the characters' HP.
At one star, they'll have at default 4 HP. Every extra star adds an extra 3 HP on top of that.

RED has at standard 10 HP (3 Stars), Blue has 4 HP (1 Stars) and Green has 16 HP (5 Stars).

The health script from this video, is very malleable so I can adjust it to my needs. Although  the code is in Javascript, nothing a little code converter can change.

Things are slow as of now due to other assignments, but some progress is still progress.
"Don't we all feel like this at some point."

Anyway, have a nice day.

Monday 2 December 2019

Week 11 - Tech Task


Not gonna lie... Tech task is pretty fun when all you're making are memes.

If I knew about that part at the beginning of the semester, I would've been doing tech tasks 24/7.


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 &qu...