Game Development Reference
In-Depth Information
Mission accomplished
In this project, we created the aiming camera and laser, the same as the ones used in Resid-
ent Evil by adapting the old CharacterControl script. We also learned how to set up
the camera for a third-person view while the character is aiming, created new Animat-
orController to control each action, created a rocket launcher, created the rocket
prefab, and used the Shuriken Particle system to create the smoke from the launcher barrel,
smoke trial from the rocket, and the explosion.
Next, we also learned how to use the Instantiate() function to clone the game object
and display it in the scene. We used Invoke() to call the function after the time that we
assigned. Lastly, we created a UI to track the number of rockets left by using GUITexture
and GUIText .
Let's take a look at the following screenshot to see what we have done so far:
Search WWH ::




Custom Search