Monday, October 5, 2020

Act

 Activity 5:

Group: John Lloyd B. Galvante, John Christian Caraga

This is the presentation of how we created the activity 5, it was made using Unity 2D, the game mechanics is simple. 

1. Destroy the tomato (poison tomato)

2. Add life (Health lemon)

The goal of the game is to reach finish line without losing all the health bar. In order to win you need to pass the obstacle.

Overall:

When the player has reached the red line, the game will pause itself.

For the components:

Overall:


For player:

Script:

How to gain Life? and how to loss life?

Script for the skull (tomato), lemon (life)


Lemon:


How to destroy the enemy for being touch by the player?

Scripts:


When it touch the object the object will be destroyed.

How to pause the game when you pass the level?


The components for the game:

Lemon:



Tomato:



Heart UI/ GameOver:


Finish Line Script:






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...