Sunday, August 5, 2012

LAST LESSON!

Today, I completed my 3 effects.

  • Trails for the ingredients while flying
  • Smoke emitting out from the ingredients when it landed on the burger
  • Lastly, the warning time effects when the time reaches 23sec.
The first effect is trails. The top three pictures show the work in progress for the trails.
The last picture is almost what I wanted for how the trails to look like, but I still think that its too smokey feel. So I took the texture and went to photoshop and edit I erase some of the parts of the smoke.

 This is how the final texture for the trails look like. I apply this to the ingredients trails texture.
Here are the final looking trails.


*BUT, there's some problem with this effect, which is I did destroy the trails when the ingredient landed on the burger but when I move the player going backwards quickly the trails came out again.*
Next effect is the smoke! This is the testing smoke I did in a plain unity file. Playing with the particle system settings, emission rate etc..
I went to the internet to find a texture for my smoke and apply it to the game.
This is how it look like when the ingredients landed on the burger.
 The settings I used. I tried adjusting the emission rate and the start lifetime, start speed and start size to make it more like smoke. At first the smoke is like moving too fast and slowly after much adjusting I roughly get what I want.
I place a script onto the smoke effects so that when the ingredient land on the burger it start emitting out smoke.

*Problem faced: Sometimes, when the ingredient landed on the burger, there will be one more smoke particles emitting out but sometimes it won't.*

 The last effects is the simple warning signal that will come out when the time is lesser than around 30 sec.
Originally I used a cube and i placed a texture on it and give a glow but I wanted to place the warning sign beside the time so that the player can see it. So, I changed it to a GUI texture and apply the texture to it. I tried applying the glow but it doesnt work.
This is the script used for the if time less than 23 sec the warn signal will pop out.

*Problem faced: It is quite difficult to get the accurate timing that I want because we need to do some math. So i roughly get around 23 sec then the warn effect will pop out.*

Overall, I find that its quite difficult to make a game even simple game like what we did. It required alot of scripting which I find that its difficult. Creating those effects using particle system is ok but when it came to the scripting part its like !#@$$$%%^ i don't know how to script it with codes. But, I have learnt alot during this module. And I find it interesting and cool as we finally completed our own games! :D





No comments:

Post a Comment