Showing posts with label Coding Task. Show all posts
Showing posts with label Coding Task. Show all posts

Friday, 8 April 2022

Beginner Scripting : Delta Time

 

For this week’s extra credit task, I decided to choose the tutorial about Deltatime.

I chose this tutorial because the term delta time was a familiar statement that I had always come across when completing my unity tutorials and I wanted to further and recap my knowledge on it.

Some main points I was able to take away from the tutorial were:

The term Delta time, means the time between each update or fixed update call

Time between frames is not constant therefore they need to be modified by using delta time

It makes the movement of objects more smooth and takes away that glitching effect that would occur if it wasn’t implemented.



Tuesday, 29 March 2022

Extra Credit: Update and Fixed Update

For this week’s extra credit task, I decided to choose the tutorial about update and fixed update.

I chose this tutorial because these were both familiar items that I had always come across when completing my unity tutorials and I wanted to further and recap my knowledge on them.

Some main points I was able to take away from the tutorial were:

For void update: almost anything that needs to be changed or adjusted regular happens in that section and it is not called on a regular timeline, therefore the timeline between the calls is not the same.

For fixed update: it is a called on a regular timeline and will have the same timeline between calls.




Sunday, 27 March 2022

Coding Task- IF statements

For this extra credit coding task, I learnt about “IF Statements”

These statements are needed for the code to make a decision based on a condition.

There is also another statement called the “IF- Else” statement, meaning that it will be conditional, ie below a specific limit.

I learnt that these stamen are useful for making decision in the code and deciding what you want the code to do based on a condition.



Wednesday, 16 February 2022

Beginner Scripting: Scripts as Behaviour Components

 

By attaching the script to the object, you can add a value to a specific object and decide how that value will affect that object, this value may be speed, colour, or movement. I have been using scripts in unity for a while now, and I am just beginning to learn that they are behavioural components and are essential for game development. This was a useful video tutorial providing a good refresher of the scripts.




Beta

  After weeks of work and editing and writing and rewriting scripts I can successfully say that I have successfully completed my game! Thi...