Monday, December 14, 2020

Activity 6

 Activity 6: How to move a player? while shoot and point

GROUPINGS: John Lloyd B. Galvante, John Christian Caraga

December 14, 2020



In this gif you can see the demonstration of Point and shoot,


Here are the components above:

As you can see you see the sprite and object that has been used to create the game point and shoot.

-Crosshair - for the player cursor to shoot.
-Player - the turret itself for shooting.
-Projectile -The bullet for the turret.

SCRIPTS:



How it works?

The script is the base that will function for the objects to work.


The image above is the components of the main camera, i drag the script to the main camera.
As you can see the objects has been inserted to the script. The crosshair, turretholder, projectile and the prefab for the bullet.




No comments:

Post a Comment

Activity 6

 Activity 6:  How to move a player? while shoot and point GROUPINGS: John Lloyd B. Galvante, John Christian Caraga December 14, 2020 In this...