Posts

Showing posts with the label Coding Task

Beginner Scripting

Image
 Beginner Scripting  For the second beginner scripting part I learned about GetButton and GetKey which are ways of receiving input from keys or joysticks buttons. Unity

Beginner Scripting

Image
 Beginner Scripting  This week on the beginner scripting we learned about the Destroy function which can be used to remove game objects or components at the run time in your game in unity.  Unity

Beginner Scripting

Image
 Beginner Scripting  The second beginner coding task that I took on was Linear Interpolation which is when you interlope two values which helps and for example if you were to interlope 10 and 8 it'd be 9 as its 50% between the two. Unity

Beginner Scripting

Image
 Beginner Scripting  This week I worked on the beginner unity tutorials and was working on the topic Look At which follows the game object focus on another transform in your game.  Unity

Beginner Scripting

Image
 Beginner Scripting In the second part of beginner scripting this week I worked on Translate and Rotate and the Transform Functions in code. Unity

Beginner Scripting

Image
 Beginner Scripting  In this week we worked on Activating Game Objects and got them complete. Unity

Beginner Scripting

Image
 Beginner Scripting In this weeks second beginner scripting I was working on was enabling and disabling components where you can either enable or disable by simply using the enable flag. Unity

Beginner Scripting

Image
 Beginner Scripting  For this weeks beginner scripting we worked on Vector Maths and how they are used in game development and are used in the sense of calculations and how they are being used. Unity

Beginner Scripting

Image
 Beginner Scripting  Another coding task that I worked on this week was for Update and FixedUpdate where I learned about how when things change that it regularly happens here. Unity

Beginner Scripting

Image
 Beginner Scripting  For this weeks beginner scripting I worked on awake and start and at how it can be used in your script and put into unity and an example would be the start of the game as awake would be used in that point. Unity

Beginner Scripting

Image
 Scope and Access Modifiers In this weeks beginner scripting task I learned about the scope and access modifiers which was interesting to learn and learned from the examples and the video with it. Unity

Beginner Scripting

Image
 Loops In this weeks beginner scripting we learned about loops and learned about the different loops such as ForLoop, WhileLoop, DoWhileLoop and Foreachloop. I also learned at how they're used in code and can be done. Unity

Beginner Scripting

Image
 Beginner Scripting  For this weeks beginner scripting I learned about IF statements and how it affects your code and the decisions that can be made. Unity

Beginner Scripting

Image
 Beginner Scripting In this weeks extra tasks I continued with doing the Beginning Scripting and learned about conventions and syntax. In this I learned something new such as with dots is an operator that can separate or access elements of a compound item which contains many elements. I learned more about indenting with code and how it works together. Conventions and Syntax

Beginner Scripting

Image
 Beginner Scripting For week three of extra credit tasks I continued with the tech tasks and this week we learned about 'Variables and Functions'. With this I learned at how each has a different box and that there are two different parts to a variable such as the declaration and the initialisation of the variable. Then with functions I learned at how you get something in return and that you can also make your own return on it such as putting in your code result number = 2 for example. While I knew a bit about variables and functions I learned more today. Variables and Functions  

Beginner Scripting

Image
 Beginner Scripting For my extra tasks I decided to do Beginning scripting for one of the extra tasks and this week was 'Scripts As Behaviour Components'. While learning about this and watching the video on unity I learned some basic stuff such as the referring to game object you are referring to the particular item such as the square in this case. I also learned of the other beginner methods such as attaching the script to the cube making sure that they are attached and works together. In doing this we can see in the video at how the cube's colour is being changed by pressing certain keys on your keyboard. Beginner Video Tutorial