top of page

Week 1

Unity intro

Unity’s primitive objects

Screen Shot 2019-01-29 at 10.03.24.png
Screen Shot 2019-01-29 at 10.19.16.png
Screen Shot 2019-01-29 at 10.19.10.png
Screen Shot 2019-01-29 at 10.28.05.png
Screen Shot 2019-01-29 at 10.27.55.png
Screen Shot 2019-01-29 at 10.27.39.png
Screen Shot 2019-01-29 at 10.27.49.png
Screen Shot 2019-01-29 at 10.19.02.png
Screen Shot 2019-01-29 at 11.23.53.png
Screen Shot 2019-01-29 at 10.31.24.png
Screen Shot 2019-01-29 at 11.21.43.png
Capture534.JPG
Capture5745.JPG
Capture23435.JPG
Capture445.JPG
Capture.JPG

Playing with Directional light, spotlight and adding fog

fog.JPG
45335353.JPG
85.JPG
Week 2
Colour theory

Snapping, Materials & Prefabs

1.JPG
Capture.JPG
Capture45453.JPG
Capture5544.JPG

Skyboxes

Capture45.JPG
Capture852.JPG
Capture745.JPG
Capture125.JPG

Week 3

Materials & Particles

Creating different materials for 3d objects

Screen Shot 2019-02-12 at 09.38.07.png
Screen Shot 2019-02-12 at 09.36.53.png
Screen Shot 2019-02-12 at 09.38.56.png
Screen Shot 2019-02-12 at 09.48.46.png
Screen Shot 2019-02-12 at 09.56.16.png
Screen Shot 2019-02-12 at 09.55.37.png

Putting different materials on the rabbit to create different looks like silver, gold, copper, lava and etc.

Screen Shot 2019-02-12 at 10.16.05.png
Screen Shot 2019-02-12 at 11.00.44.png

Introduction to particle system

Screen Shot 2019-02-12 at 11.11.00.png
Screen Shot 2019-02-12 at 11.23.52.png

Week 4

Particles & Procedural art

53435534.JPG

Using the same 3D bunny and adding to it a particle system which moves around the bunny shape.

Capture4534.JPG
Capture4545.JPG
Capture7.JPG
Screen Shot 2019-02-19 at 11.00.26.png
Screen Shot 2019-02-19 at 11.04.26.png
Screen Shot 2019-02-19 at 11.05.00.png
Screen Shot 2019-02-19 at 11.04.35.png
Screen Shot 2019-02-19 at 09.33.34.png
Basic scripting
Screen Shot 2019-02-19 at 11.30.09.png
Capture.JPG
5252.JPG
Capture45.JPG
Screen Shot 2019-02-19 at 11.21.46.png
Screen Shot 2019-02-19 at 11.50.22.png
Screen Shot 2019-02-19 at 11.59.13.png

Week 5

Procedural Art & Scripting

Screen Shot 2019-02-26 at 09.20.32.png
Screen Shot 2019-02-26 at 09.20.26.png
Screen Shot 2019-02-26 at 09.37.30.png
Screen Shot 2019-02-26 at 09.26.07.png
Screen Shot 2019-02-26 at 09.25.59.png
Screen Shot 2019-02-26 at 09.35.53.png
Screen Shot 2019-02-26 at 09.28.29.png
Screen Shot 2019-02-26 at 09.28.13.png
Screen Shot 2019-02-26 at 09.28.20.png
Screen Shot 2019-02-26 at 09.39.08.png
Screen Shot 2019-02-26 at 09.35.42.png
Screen Shot 2019-02-26 at 09.37.47.png
Screen Shot 2019-02-26 at 11.23.12.png
Screen Shot 2019-02-26 at 10.19.05.png
Screen Shot 2019-02-26 at 11.00.50.png
Screen Shot 2019-02-26 at 10.21.45.png
Screen Shot 2019-02-26 at 10.37.00.png
Screen Shot 2019-02-26 at 10.20.37.png
Screen Shot 2019-02-26 at 10.26.07.png
Screen Shot 2019-02-26 at 10.40.15.png
Screen Shot 2019-02-26 at 11.56.18.png
Screen Shot 2019-02-26 at 11.49.59.png
Screen Shot 2019-02-26 at 11.37.13.png
Screen Shot 2019-02-26 at 11.36.12.png
Screen Shot 2019-02-26 at 11.52.27.png
Capture2.JPG
Capture.JPG
Capture3.JPG
Capture1.JPG
Capture4.JPG
Capture445.JPG

Week 8 

Sorting

2D objects sorted in different places to create a 2D view like a title sequence.

 

 

Screen Shot 2019-03-19 at 09.43.30.png
Screen Shot 2019-03-19 at 09.43.20.png
Screen Shot 2019-03-19 at 09.56.23.png
Screen Shot 2019-03-19 at 10.02.40.png
Screen Shot 2019-03-19 at 10.36.04.png
Screen Shot 2019-03-19 at 10.36.14.png
Screen Shot 2019-03-19 at 10.37.23.png
Screen Shot 2019-03-19 at 10.37.30.png

More 2D sorting making the be hide between bushes or making it fly over.

Camera and chrome keying 

Creating different camera views with same game composition

Screen Shot 2019-03-19 at 11.38.40.png
Screen Shot 2019-03-19 at 11.32.46.png
Screen Shot 2019-03-19 at 11.42.33.png
Screen Shot 2019-03-19 at 11.35.54.png
Screen Shot 2019-03-19 at 11.29.33.png
Screen Shot 2019-03-19 at 11.20.50.png

Week 9

Shaders

Screen Shot 2019-04-02 at 10.39.43.png
Screen Shot 2019-04-02 at 10.31.33.png
Screen Shot 2019-04-02 at 10.39.39.png
Screen Shot 2019-04-02 at 10.29.27.png
Screen Shot 2019-04-02 at 10.13.46.png
Screen Shot 2019-04-21 at 9.11.24 pm.png
Screen Shot 2019-04-21 at 9.11.38 pm.png

Creating my first shaders in PBR Master. 

Playing around with different colours, transparency.

Mixing colours, for example as red and blue to create purple.

Screen Shot 2019-04-21 at 9.12.14 pm.png
Screen Shot 2019-04-21 at 9.12.20 pm.png
Screen Shot 2019-04-21 at 9.27.44 pm.png
Screen Shot 2019-04-21 at 9.27.30 pm.png
Screen Shot 2019-04-21 at 9.27.24 pm.png
Screen Shot 2019-04-21 at 9.19.58 pm.png
Screen Shot 2019-04-21 at 9.19.55 pm.png

Here vector allows to choose which colour to make more dominant than the other

Screen Shot 2019-04-21 at 9.19.42 pm.png
Screen Shot 2019-04-21 at 9.19.48 pm.png
1.JPG
gdgn.JPG
2.JPG
fbfbf.JPG
fhbzdb.JPG
fbb.JPG
hfbf.JPG
hfff.JPG

Created a shader for the grass to change its colour and make it move

gdgb.JPG
ghxgh.JPG
sg.JPG
dthdt.JPG
xgfxg.JPG
Week 10
Shader recipes

Toon shader graph

Screen Shot 2019-05-10 at 11.28.01.png

Fresnel effect

Screen Shot 2019-05-10 at 11.31.07.png
Screen Shot 2019-05-10 at 11.31.46.png
Fog Shader
Screen Shot 2019-05-10 at 11.37.10.png
Screen Shot 2019-05-10 at 11.36.17.png

Vertex Position Shader

Screen Shot 2019-05-10 at 11.41.29.png
Screen Shot 2019-05-10 at 11.41.23.png
Normal map shader
Screen Shot 2019-05-10 at 11.48.32.png
Week 12
Optimization
Baking lighting in one place
fern.JPG

First steps were to create a patterned plane and add fern plants and add fade material to it.

32size.JPG
128size.JPG

Changing and playing around with resolution

32 size on the left

128 size on the right

twolights.JPG

Adding two red and blue spotlights over the fern and lowering the directional lighting intensity

lgihting editor.JPG
baked1.JPG

Baked lighting example, if you move the fern the lighting stays in one place as show below.

baked2.JPG
trees.JPG
materials.JPG

Created two materials and added them to the 3d model

lod.JPG

Attached them both to one empty object and added LOD Group 

Duplicated the object plenty times to create a group and here is the final seamless result

group of tress.JPG
final.JPG

Week 13

Basic programming

Variables and functions

grergezdg.png

Programming to provide basic text information

gfsgfs.png
Screen Shot 2019-04-23 at 10.00.40.png
Screen Shot 2019-04-23 at 10.00.46.png

Programming to multiply one number times two 

Task 1
1.png
1+.png

Programming to add 10 to my number and continue to do it this 10 times 

Task 2
task 2+.png
task2.png
Task 3

Programming to add 4 to my number and repeat this step for 5 times 

task 3+.png
task 3.png

Programming to divide my number by 3 

– If statements
agecategory.png
5.png
5+.png

If statement about speed

If my speed is zero than it states in the game that I'm not moving

Below is shown example of what happens if the speed is above zero (in example 6), the program states that I'm moving

6+.png
6.png
age category.png
agecategory.png

Here is a programming to determine to which adult category does a number fall

if my number is above 26 than it shows Adult as shown above

On the left the number is 18, therefore, the program would say its a teenager

Unity – Basic Programming in C#
Part 3
Random numbers / Colour
randomnscript.JPG
randomnr4.JPG
randomnr8.JPG
randomnr2.JPG

Script for showing random numbers ranged from 0 to 10

A few examples of numbers I got.

1redscript.JPG
1scriptredcube.JPG

Script for making cube color red

randomnrscript.JPG
randomnr0red.JPG
randomnr1blue.JPG

Basic programming script to color cube by the random assigned number

If random number is 0 you get a red cube

If random number is 1 you get a blue cube

If random number is 2 you get a green cube

And if you duplicate and create many cubes you get results like this

colorcube1.JPG
colorcube.JPG
colorcube3.JPG
Unity – Basic Programming in C#
Part 4
Input/ Movement
spacebuttonscript.JPG
spacebuttonmessage.JPG

In the game after pressing space bar a message appears

redgreenscrit.JPG
green.JPG
red.JPG

In the game when you press and hold space bar the cube becomes red and after releasing space bar it becomes green

movesrightscript.JPG

With this script after you press play the object goes right forever

movingleftrightscript.JPG

A basic script that allows to move the cube left and right with left and right arrow keys as well as change speed with added public int

movementspeed.JPG
Task 1
move4directions.JPG
Task 2

1st task was to create a script for an object to move in four directions. Here is the script. It has four codes for up, down, left and right.

speed2.JPG
speed1.JPG

The task was to create a faster moving cubes. Here are the scripts, the larger value of X's and Y's, the faster the object will go using the arrow keys.

Unity – Basic Programming in C#
Part 5  
Top Down (Maze Game)
game1.JPG

Creating the scene, adding sprites (walls and character) then adding Box Colliders 2d to them. Background a solid colour.

moves.JPG

This is a script for characters movements

next to doors.JPG

Here I show that the character can't pass through the walls

parent script.JPG
haskey.JPG

Script for the key,

now when the character comes near the key it clicks to him and when a character touches the wall, the key relocates to the wall

keyonwall.JPG
playertag.JPG

This is key script changed so that the key would stay with the player only when picked up

opensalwaysdoors.JPG

This is  door script.

Now the player can pass the door, however, with keys and with no keys

with key.JPG
nokey.JPG
moves.JPG
keyscriptss.JPG

To make doors open only with the key I set a state in my characters movement script, then set that state to true when the key it picked up, and check for that state when the player is next to the door.

dooors.JPG
noopen.JPG
open.JPG

Now the doors open only with the key

Adding UI Element to my game.

Making the little key in the corner change as the real key is picked up by the player

keysscripto.JPG
uikeysreal.JPG

Here is the character before picking up the key. The key in the corner is there.

haha.JPG

Now it's picked up and only its shape is left in the corner

fafa.JPG
Task 1
scriptfading.JPG

Here is crate's script

It says that if the player touches the crate, the crate will fade (From 1 to 0.2 worth)

This one was a bit though for me,had to think for quite a while and try different ways until finally got it.

Game play of the task 1
1st.JPG

We have four crates. Where is the key hiding?

2.JPG

It's not in the top left one

3.JPG

It's not in the bottom left one either ...

5.JPG
4.JPG

It's not in this one too. Only one left to check.

Here it is! The character grabbed it quickly, the sign on the left is indicating that we got it.

6.JPG

And here we go through the doors!

Task 2 
task.JPG
task2.JPG
task3.JPG

Task 2 was to create 2 different doors with different keys. Here is the game play

Basic Programming in C# Part 8
Rotation
movement.JPG

Making the blue car move around with arrow keys

masina#.JPG
Task 1

Added the some boxes with Box Collider 2D to the scene, then for collision the car has a Rigidbody 2D with certain parameters shown below.

COLLISOIN.JPG
GB.JPG
gbb.JPG
Basic Programming in C# Part 7
 3 Lane Game
game.JPG

This is the Menu scene

gotogamescript.JPG
scenes.JPG

This is a script for the Menu scene that after pressing the Start button it would open the game scene.

Adding both scenes to Build

gamestart.JPG

Lets head to the game scene.

Placing all sprites to places. 

olayermove.JPG

Here is the player's movement script 

and it allows the player to jump from one line to another.  

2.JPG
1.JPG
enemy.JPG

Here is the enemy's movement script

The Enemy sprite goes down till -6 and dissapears. If he collides with the rocket than the rocket changes colour to red.

Capture.JPG
capture2.JPG
spawnscript.JPG
spawning.JPG

Script for making the enemy spawn randomly down in our 3 stripes but with no time intervals.

spawntimer.JPG

And adding the time interval didn't make the enemy's come normally. For some reason only two would spawn - one original and one clone. 

I added a time interval to the MainController script so that the enemy would spawn normally. But other thing happened. I noticed several errors coming after running the game.

error.JPG
this.JPG

Then I changed the enemy's movement script a little bit. I changed the Destroy line from 

Destroy(gameObject) to Destroy(this)

After doing so, the error stopped coming up and the enemy's was spawning, HOWEVER, they weren't visible.. just the first two ones.

empty.JPG
Capture.JPG

Here's the problem. 

The enemy clones would show up in the Hierarchy but not in the game.

Screen Shot 2019-05-14 at 10.09.29.png
Screen Shot 2019-05-14 at 10.09.41.png

Fixed the problem.

In the main control script I was using the ship from hierarchy and thats why they wouldn't go down, they were spawning from the top and not moving.

When I changed the ship and added the same ship just the prefab ,everything fixed and now the ships are spawning and moving as they should be.

Screen Shot 2019-05-14 at 10.09.12.png
Screen Shot 2019-05-14 at 10.09.05.png
Screen Shot 2019-05-14 at 10.43.09.png

Adding public variable and boolean to Main script 

Screen Shot 2019-05-14 at 10.43.20.png
Screen Shot 2019-05-14 at 10.47.08.png

Now the game goes until the ship collides with enemy. Then enemy's stop spawning and try again message shows up.

Screen Shot 2019-05-14 at 10.47.27.png
Task 1
Screen Shot 2019-05-14 at 10.57.02.png

Task 1 was to make clicking on Try Again text to restart the game. 

This was simple.

I created a new script, called it StartAgain and made it a scene management

Then added this script to Try Again prefab and now if you press try again the game starts again

Screen Shot 2019-05-14 at 10.57.26.png
Screen Shot 2019-05-14 at 10.57.52.png

After pressing try again the game starts from beginning

Screen Shot 2019-05-14 at 10.58.10.png
Task 2
Screen Shot 2019-05-14 at 11.12.02.png
Screen Shot 2019-05-14 at 11.12.18.png

Task 2 was to make pressing Etc button during the game open the Menu scene. 

For this I added a scene management line to the main game control script and in the update added the command to open Menu scene if Escape button is pressed.

Screen Shot 2019-05-14 at 11.12.43 1.png
Screen Shot 2019-05-14 at 11.12.47.png
bottom of page